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

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

class AddRemoteTextLimitToImportUrlInImportExportUpload < ActiveRecord::Migration[6.0]
  include Gitlab::Database::MigrationHelpers

  disable_ddl_transaction!

  def up
    add_text_limit :import_export_uploads, :remote_import_url, 512
  end

  def down
    remove_text_limit :import_export_uploads, :remote_import_url
  end
end