Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20170909150936_add_spent_at_to_timelogs.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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