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
b30fd044
Commit
b30fd044
authored
Aug 24, 2021
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch 'mc-remove-column-from-project-settings' into 'master'"
This reverts merge request !68798
parent
90e8614c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
18 deletions
+1
-18
db/post_migrate/20210823193234_remove_allow_editing_commit_messages_from_project_settings.rb
...ve_allow_editing_commit_messages_from_project_settings.rb
+0
-17
db/schema_migrations/20210823193234
db/schema_migrations/20210823193234
+0
-1
db/structure.sql
db/structure.sql
+1
-0
No files found.
db/post_migrate/20210823193234_remove_allow_editing_commit_messages_from_project_settings.rb
deleted
100644 → 0
View file @
90e8614c
# frozen_string_literal: true
class
RemoveAllowEditingCommitMessagesFromProjectSettings
<
ActiveRecord
::
Migration
[
6.1
]
include
Gitlab
::
Database
::
MigrationHelpers
def
up
with_lock_retries
do
remove_column
:project_settings
,
:allow_editing_commit_messages
end
end
def
down
with_lock_retries
do
add_column
:project_settings
,
:allow_editing_commit_messages
,
:boolean
,
default:
false
,
null:
false
end
end
end
db/schema_migrations/20210823193234
deleted
100644 → 0
View file @
90e8614c
b85ef326056bb152d527e34b49caa3c40ee8685c3b14654992246c6adf082f8c
\ No newline at end of file
db/structure.sql
View file @
b30fd044
...
...
@@ -17343,6 +17343,7 @@ CREATE TABLE project_settings (
squash_option smallint DEFAULT 3,
has_confluence boolean DEFAULT false NOT NULL,
has_vulnerabilities boolean DEFAULT false NOT NULL,
allow_editing_commit_messages boolean DEFAULT false NOT NULL,
prevent_merge_without_jira_issue boolean DEFAULT false NOT NULL,
cve_id_request_enabled boolean DEFAULT true NOT NULL,
mr_default_target_self boolean DEFAULT false NOT NULL,
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