debian-mirror-gitlab/db/migrate/20221027124848_add_text_limit_to_project_settings_mirror_branch_regex.rb
2023-01-12 18:35:48 +00:00

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