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

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

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

  def up
    remove_text_limit :import_export_uploads, :remote_import_url
    add_text_limit :import_export_uploads, :remote_import_url, 2048
  end

  def down
    # no-op
  end
end