bigdir/db/migrate/079_add_user_preferences_ti...

10 lines
208 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddUserPreferencesTimeZone < ActiveRecord::Migration
def self.up
add_column :user_preferences, :time_zone, :string
end
def self.down
remove_column :user_preferences, :time_zone
end
end