summaryrefslogtreecommitdiff
path: root/db/migrate/20181015155839_add_finished_at_to_deployments.rb
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