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

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

class AddTextLimitToBatchedBackgroundMigrationsGitlabSchema < Gitlab::Database::Migration[2.0]
  disable_ddl_transaction!

  def up
    add_text_limit :batched_background_migrations, :gitlab_schema, 255
  end

  def down
    remove_text_limit :batched_background_migrations, :gitlab_schema
  end
end