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

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

class ValidateNotNullConstraintOnSecurityFindingsUuid < Gitlab::Database::Migration[1.0]
  disable_ddl_transaction!

  def up
    validate_not_null_constraint(:security_findings, :uuid)
  end

  def down
    # no-op
  end
end