mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
12 lines
262 B
Ruby
12 lines
262 B
Ruby
|
|
class AddTimeZonePreference < ActiveRecord::Migration
|
||
|
|
|
||
|
|
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
|