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: 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