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
890a2b3c
Commit
890a2b3c
authored
Nov 12, 2021
by
Baodong
Committed by
Alper Akgun
Nov 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add has_shimo to project_settings table
parent
39dcf147
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
0 deletions
+13
-0
db/migrate/20211110100050_add_has_shimo_to_project_settings.rb
...grate/20211110100050_add_has_shimo_to_project_settings.rb
+9
-0
db/schema_migrations/20211110100050
db/schema_migrations/20211110100050
+1
-0
db/structure.sql
db/structure.sql
+1
-0
spec/lib/gitlab/import_export/safe_model_attributes.yml
spec/lib/gitlab/import_export/safe_model_attributes.yml
+1
-0
spec/requests/api/project_attributes.yml
spec/requests/api/project_attributes.yml
+1
-0
No files found.
db/migrate/20211110100050_add_has_shimo_to_project_settings.rb
0 → 100644
View file @
890a2b3c
# frozen_string_literal: true
class
AddHasShimoToProjectSettings
<
Gitlab
::
Database
::
Migration
[
1.0
]
enable_lock_retries!
def
change
add_column
:project_settings
,
:has_shimo
,
:boolean
,
default:
false
,
null:
false
end
end
db/schema_migrations/20211110100050
0 → 100644
View file @
890a2b3c
54b83ba1f8e8aa8a23f230664bcd6cc068a2df2d669e395713f0805d0f054f9c
\ No newline at end of file
db/structure.sql
View file @
890a2b3c
...
...
@@ -18301,6 +18301,7 @@ CREATE TABLE project_settings (
previous_default_branch text,
warn_about_potentially_unwanted_characters boolean DEFAULT true NOT NULL,
merge_commit_template text,
has_shimo boolean DEFAULT false NOT NULL,
CONSTRAINT check_3a03e7557a CHECK ((char_length(previous_default_branch) <= 4096)),
CONSTRAINT check_bde223416c CHECK ((show_default_award_emojis IS NOT NULL)),
CONSTRAINT check_eaf7cfb6a7 CHECK ((char_length(merge_commit_template) <= 500))
spec/lib/gitlab/import_export/safe_model_attributes.yml
View file @
890a2b3c
...
...
@@ -693,6 +693,7 @@ ProjectCiCdSetting:
ProjectSetting
:
-
allow_merge_on_skipped_pipeline
-
has_confluence
-
has_shimo
-
has_vulnerabilities
ProtectedEnvironment
:
-
id
...
...
spec/requests/api/project_attributes.yml
View file @
890a2b3c
...
...
@@ -137,6 +137,7 @@ project_setting:
unexposed_attributes
:
-
created_at
-
has_confluence
-
has_shimo
-
has_vulnerabilities
-
prevent_merge_without_jira_issue
-
warn_about_potentially_unwanted_characters
...
...
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