diff --git a/db/migrate/20100326171758_clear_default_theme_from_profiles.rb b/db/migrate/20100326171758_clear_default_theme_from_profiles.rb new file mode 100644 index 0000000..229730e --- /dev/null +++ b/db/migrate/20100326171758_clear_default_theme_from_profiles.rb @@ -0,0 +1,9 @@ +class ClearDefaultThemeFromProfiles < ActiveRecord::Migration + def self.up + execute("update profiles set theme = null where theme = 'default'") + end + + def self.down + say "WARNING: cannot undo this migration" + end +end -- libgit2 0.21.2