gitlab-org--gitlab-foss/db/migrate/20221027124848_add_text_lim...

14 lines
310 B
Ruby

# frozen_string_literal: true
class AddTextLimitToProjectSettingsMirrorBranchRegex < Gitlab::Database::Migration[2.0]
disable_ddl_transaction!
def up
add_text_limit :project_settings, :mirror_branch_regex, 255
end
def down
remove_text_limit :project_settings, :mirror_branch_regex
end
end