gitlab-org--gitlab-foss/db/migrate/20170909150936_add_spent_at_to_timelogs.rb

12 lines
210 B
Ruby
Raw Normal View History

2017-09-22 12:20:44 -04:00
class AddSpentAtToTimelogs < ActiveRecord::Migration
DOWNTIME = false
def up
add_column :timelogs, :spent_at, :datetime_with_timezone
end
def down
remove_column :timelogs, :spent_at
end
end