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

20220628110214_add_namespace_id_column_to_issues_table.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 111ef8babae9ab5f6893b5d8f525b620df1c7b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddNamespaceIdColumnToIssuesTable < Gitlab::Database::Migration[2.0]
  enable_lock_retries!

  def up
    add_column :issues, :namespace_id, :bigint
  end

  def down
    remove_column :issues, :namespace_id
  end
end