debian-mirror-gitlab/db/migrate/20170909150936_add_spent_at_to_timelogs.rb

12 lines
215 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
class AddSpentAtToTimelogs < ActiveRecord::Migration[4.2]
2018-03-17 18:26:18 +05:30
DOWNTIME = false
def up
add_column :timelogs, :spent_at, :datetime_with_timezone
end
def down
remove_column :timelogs, :spent_at
end
end