blob: b77523c3a44a111aca30dbe4fa5f1e9d0d467565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
class ValidateNotNullConstraintOnClusterTokenName < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
disable_ddl_transaction!
def up
validate_not_null_constraint :cluster_agent_tokens, :name
end
def down
# no-op
end
end
|