blob: 5d02ad3e2f5b30801ce0e25d74d8da5ff202af63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class AddTextLimitToNamespacePackageSettingsGenericDuplicateExceptionRegex < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
disable_ddl_transaction!
def up
add_text_limit :namespace_package_settings, :generic_duplicate_exception_regex, 255
end
def down
remove_text_limit :namespace_package_settings, :generic_duplicate_exception_regex
end
end
|