ref: master
db/migrate/20100326171758_clear_default_theme_from_profiles.rb
1 2 3 4 5 6 7 8 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