summaryrefslogtreecommitdiff
path: root/db/migrate/20170918072949_add_file_store_job_artifacts.rb
blob: 8c265bb6acad4b4e5471cc7fdedb9d26479cdc82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class AddFileStoreJobArtifacts < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  disable_ddl_transaction!
  DOWNTIME = false

  def up
    add_column(:ci_job_artifacts, :file_store, :integer)
  end

  def down
    remove_column(:ci_job_artifacts, :file_store)
  end
end