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

20210922021816_drop_int4_columns_for_ci_job_artifacts.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e45d6ed34aa9392ba135bcd9c5c66bfc8a626e9a (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

class DropInt4ColumnsForCiJobArtifacts < Gitlab::Database::Migration[1.0]
  enable_lock_retries!

  def change
    remove_column :ci_job_artifacts, :id_convert_to_bigint, :integer, null: false, default: 0
    remove_column :ci_job_artifacts, :job_id_convert_to_bigint, :integer, null: false, default: 0
  end
end