mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
320 B
16 lines
320 B
11 years ago
|
class AddTimezonesToLogs < ActiveRecord::Migration
|
||
|
def up
|
||
|
change_table :logs do |t|
|
||
|
t.change :start_date, :timestamptz
|
||
|
t.change :end_date, :timestamptz
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
change_table :logs do |t|
|
||
|
t.change :start_date, :timestamp
|
||
|
t.change :end_date, :timestamp
|
||
|
end
|
||
|
end
|
||
|
end
|