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
10c72422
Commit
10c72422
authored
Feb 11, 2021
by
charlie ablett
Committed by
Alex Kalderimis
Feb 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change setting type to text
parent
0957161c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
db/migrate/20210210210232_add_notes_create_limit_allowlist_to_application_settings.rb
...d_notes_create_limit_allowlist_to_application_settings.rb
+1
-1
db/structure.sql
db/structure.sql
+1
-1
No files found.
db/migrate/20210210210232_add_notes_create_limit_allowlist_to_application_settings.rb
View file @
10c72422
...
...
@@ -4,6 +4,6 @@ class AddNotesCreateLimitAllowlistToApplicationSettings < ActiveRecord::Migratio
DOWNTIME
=
false
def
change
add_column
:application_settings
,
:notes_create_limit_allowlist
,
:
string
,
array:
true
,
limit:
255
,
default:
[]
add_column
:application_settings
,
:notes_create_limit_allowlist
,
:
text
,
array:
true
,
default:
[],
null:
false
end
end
db/structure.sql
View file @
10c72422
...
...
@@ -9414,7 +9414,7 @@ CREATE TABLE application_settings (
asset_proxy_allowlist
text
,
keep_latest_artifact
boolean
DEFAULT
true
NOT
NULL
,
notes_create_limit
integer
DEFAULT
300
NOT
NULL
,
notes_create_limit_allowlist
character
varying
(
255
)[]
DEFAULT
'{}'
::
character
varying
[]
,
notes_create_limit_allowlist
text
[]
DEFAULT
'{}'
::
text
[]
NOT
NULL
,
CONSTRAINT
app_settings_container_reg_cleanup_tags_max_list_size_positive
CHECK
((
container_registry_cleanup_tags_service_max_list_size
>=
0
)),
CONSTRAINT
app_settings_registry_exp_policies_worker_capacity_positive
CHECK
((
container_registry_expiration_policies_worker_capacity
>=
0
)),
CONSTRAINT
check_17d9558205
CHECK
((
char_length
((
kroki_url
)::
text
)
<=
1024
)),
...
...
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