Commit 7aefbc35 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'kballon_alter_constraint_remote_import_url' into 'master'

Increase remote import URL character length limit from 512 to 2048

See merge request gitlab-org/gitlab!80885
parents 1af80ed1 5bea4f57
# 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
b1d67334e1e52a24b3ea45d1520878dac7ea6dd7fba61d966e4311212993ee77
\ No newline at end of file
......@@ -15794,7 +15794,7 @@ CREATE TABLE import_export_uploads (
export_file text,
group_id bigint,
remote_import_url text,
CONSTRAINT check_58f0d37481 CHECK ((char_length(remote_import_url) <= 512))
CONSTRAINT check_58f0d37481 CHECK ((char_length(remote_import_url) <= 2048))
);
CREATE SEQUENCE import_export_uploads_id_seq
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment