Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20221027124848_add_text_limit_to_project_settings_mirror_branch_regex.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e87eb20720486ae4cf828c766aeb3d5c80728813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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