20181015155839_add_finished_at_to_deployments.rb 335 Bytes
Newer Older
1 2
# frozen_string_literal: true

3
class AddFinishedAtToDeployments < ActiveRecord::Migration[4.2]
4 5 6 7 8 9 10 11 12 13 14 15
  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