summaryrefslogtreecommitdiff
path: root/db/migrate/20211015024135_add_merge_commit_template_limit_to_project_settings.rb
blob: 972872b8d2a9bc05f13680af18d3d79752a17711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddMergeCommitTemplateLimitToProjectSettings < Gitlab::Database::Migration[1.0]
  disable_ddl_transaction!

  def up
    add_text_limit :project_settings, :merge_commit_template, 500
  end

  def down
    remove_text_limit :project_settings, :merge_commit_template
  end
end