summaryrefslogtreecommitdiff
path: root/db/migrate/20170909150936_add_spent_at_to_timelogs.rb
blob: 3a2c900b445b216937574d6d115face51526505b (plain)
1
2
3
4
5
6
7
8
9
10
11
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