mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
11 lines
267 B
Ruby
11 lines
267 B
Ruby
class AddTimeZonePreference < ActiveRecord::Migration[5.2]
|
|
|
|
def self.up
|
|
add_column :preferences, :time_zone, :string, :limit => 255, :default => 'London', :null => false
|
|
end
|
|
|
|
def self.down
|
|
remove_column :preferences, :time_zone
|
|
end
|
|
|
|
end
|