summaryrefslogtreecommitdiff
path: root/db/migrate/20181015155839_add_finished_at_to_deployments.rb
blob: 1a061bb0f5f3b68fc6dbdbce2632383d53b39506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class AddFinishedAtToDeployments < ActiveRecord::Migration
  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