mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-04-04 05:33:22 -04:00
16 lines
320 B
Ruby
16 lines
320 B
Ruby
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
|