Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5bea4f57
Commit
5bea4f57
authored
Mar 21, 2022
by
Kent Japhet Ballon
Committed by
Mayra Cabrera
Mar 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase remote import URL character length limit from 512 to 2048
Changelog: changed
parent
53920cb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
db/post_migrate/20220321025720_alter_constraint_remote_import_url.rb
...rate/20220321025720_alter_constraint_remote_import_url.rb
+14
-0
db/schema_migrations/20220321025720
db/schema_migrations/20220321025720
+1
-0
db/structure.sql
db/structure.sql
+1
-1
No files found.
db/post_migrate/20220321025720_alter_constraint_remote_import_url.rb
0 → 100644
View file @
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
db/schema_migrations/20220321025720
0 → 100644
View file @
5bea4f57
b1d67334e1e52a24b3ea45d1520878dac7ea6dd7fba61d966e4311212993ee77
\ No newline at end of file
db/structure.sql
View file @
5bea4f57
...
@@ -15794,7 +15794,7 @@ CREATE TABLE import_export_uploads (
...
@@ -15794,7 +15794,7 @@ CREATE TABLE import_export_uploads (
export_file text,
export_file text,
group_id bigint,
group_id bigint,
remote_import_url text,
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
CREATE SEQUENCE import_export_uploads_id_seq
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment