debian-mirror-gitlab/db/migrate/20170909150936_add_spent_at_to_timelogs.rb
2018-12-23 12:14:25 +05:30

11 lines
215 B
Ruby

class AddSpentAtToTimelogs < ActiveRecord::Migration[4.2]
DOWNTIME = false
def up
add_column :timelogs, :spent_at, :datetime_with_timezone
end
def down
remove_column :timelogs, :spent_at
end
end