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

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

class ValidateNotNullContraintToIssuesNamespaceId < Gitlab::Database::Migration[2.0]
  disable_ddl_transaction!

  def up
    validate_not_null_constraint :issues, :namespace_id
  end

  def down
    # no-op
  end
end