scinote-web/db/migrate/20151207151820_add_timezone_to_user.rb

6 lines
140 B
Ruby
Raw Normal View History

2017-06-30 16:23:28 +08:00
class AddTimezoneToUser < ActiveRecord::Migration[4.2]
2016-02-12 23:52:43 +08:00
def change
add_column :users, :time_zone, :string, :default => "UTC"
end
end