debian-mirror-gitlab/db/migrate/20211111164047_add_squash_commit_template_limit_to_project_settings.rb
2022-01-26 12:08:38 +05:30

13 lines
315 B
Ruby

# frozen_string_literal: true
class AddSquashCommitTemplateLimitToProjectSettings < Gitlab::Database::Migration[1.0]
disable_ddl_transaction!
def up
add_text_limit :project_settings, :squash_commit_template, 500
end
def down
remove_text_limit :project_settings, :squash_commit_template
end
end