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