Redmine/db/migrate/079_add_user_preferences_ti...

10 lines
208 B
Ruby

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