debian-mirror-gitlab/db/post_migrate/20220321025720_alter_constraint_remote_import_url.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
313 B
Ruby
Raw Normal View History

2022-06-21 17:19:12 +05:30
# 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