mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-04 12:00:16 +01:00
Updated to svn tags/tracks-1.6
This commit is contained in:
parent
103fcb8049
commit
02496f2d44
2274 changed files with 0 additions and 0 deletions
11
db/migrate/021_add_time_zone_preference.rb
Normal file
11
db/migrate/021_add_time_zone_preference.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue