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

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

class ValidateStoreNotNullConstraintUploads < ActiveRecord::Migration[6.0]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  disable_ddl_transaction!

  def up
    validate_check_constraint(:uploads, :check_5e9547379c)
  end

  def down
    # no-op
  end
end