Commit 2baa55a04fc633f84ec55cafe183ef4596e97ca8

Authored by Antonio Terceiro
1 parent 0feeb5ee

Clearing theme for profiles with theme "default"

This way they will actually be displayed using the environment's theme
instead of the theme called "default". In multi-environment setups the
environments do not use the "default" theme.

(and hell yeah from now on we are going to use timestamp in migration file
names)

(ActionItem1432)
db/migrate/20100326171758_clear_default_theme_from_profiles.rb 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +class ClearDefaultThemeFromProfiles < ActiveRecord::Migration
  2 + def self.up
  3 + execute("update profiles set theme = null where theme = 'default'")
  4 + end
  5 +
  6 + def self.down
  7 + say "WARNING: cannot undo this migration"
  8 + end
  9 +end
... ...