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

20230530112602_add_text_limit_on_organization_path.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6eb9105cf976aaa4fdd3df1a1c854d3626c9efb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddTextLimitOnOrganizationPath < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  def up
    add_text_limit :organizations, :path, 255
  end

  def down
    remove_text_limit :organizations, :path
  end
end