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

20181015155839_add_finished_at_to_deployments.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bb8d6cdcf2c56427ba5767ee77a0eee1c02c2844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class AddFinishedAtToDeployments < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def up
    add_column :deployments, :finished_at, :datetime_with_timezone
  end

  def down
    remove_column :deployments, :finished_at, :datetime_with_timezone
  end
end