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
7c391302
Commit
7c391302
authored
Jul 24, 2021
by
Zamir Martins
Committed by
Steve Abrams
Jul 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add vulnerability_amount column
into approval_project_rules table. Changelog: added
parent
434f40f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
db/migrate/20210721211602_add_vulnerability_amount_column_into_approval_project_rules.rb
...ulnerability_amount_column_into_approval_project_rules.rb
+11
-0
db/schema_migrations/20210721211602
db/schema_migrations/20210721211602
+1
-0
db/structure.sql
db/structure.sql
+2
-1
No files found.
db/migrate/20210721211602_add_vulnerability_amount_column_into_approval_project_rules.rb
0 → 100644
View file @
7c391302
# frozen_string_literal: true
class
AddVulnerabilityAmountColumnIntoApprovalProjectRules
<
ActiveRecord
::
Migration
[
6.1
]
def
up
add_column
:approval_project_rules
,
:vulnerabilities_allowed
,
:integer
,
limit:
2
end
def
down
remove_column
:approval_project_rules
,
:vulnerabilities_allowed
end
end
db/schema_migrations/20210721211602
0 → 100644
View file @
7c391302
ee3e6377478302f41aa06f2278f38a9dde2f325318b4f2eba1007abb1dd1099c
\ No newline at end of file
db/structure.sql
View file @
7c391302
...
@@ -9670,7 +9670,8 @@ CREATE TABLE approval_project_rules (
...
@@ -9670,7 +9670,8 @@ CREATE TABLE approval_project_rules (
approvals_required smallint DEFAULT 0 NOT NULL,
approvals_required smallint DEFAULT 0 NOT NULL,
name character varying NOT NULL,
name character varying NOT NULL,
rule_type smallint DEFAULT 0 NOT NULL,
rule_type smallint DEFAULT 0 NOT NULL,
scanners text[]
scanners text[],
vulnerabilities_allowed smallint
);
);
CREATE TABLE approval_project_rules_groups (
CREATE TABLE approval_project_rules_groups (
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