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
d23f2895
Commit
d23f2895
authored
Aug 21, 2020
by
Vitali Tatarintev
Committed by
Mayra Cabrera
Aug 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add auto_close_incident column to incident_management_settings
parent
6c17a007
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
0 deletions
+20
-0
changelogs/unreleased/add-auto_close_incident-column-to-incident_management_settings.yml
...close_incident-column-to-incident_management_settings.yml
+5
-0
db/migrate/20200820130839_add_auto_close_incident_to_project_incident_management_settings.rb
...close_incident_to_project_incident_management_settings.rb
+13
-0
db/schema_migrations/20200820130839
db/schema_migrations/20200820130839
+1
-0
db/structure.sql
db/structure.sql
+1
-0
No files found.
changelogs/unreleased/add-auto_close_incident-column-to-incident_management_settings.yml
0 → 100644
View file @
d23f2895
---
title
:
Adds auto_close_incident column to project_incident_management_settings
merge_request
:
39980
author
:
type
:
added
db/migrate/20200820130839_add_auto_close_incident_to_project_incident_management_settings.rb
0 → 100644
View file @
d23f2895
# frozen_string_literal: true
class
AddAutoCloseIncidentToProjectIncidentManagementSettings
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
up
add_column
:project_incident_management_settings
,
:auto_close_incident
,
:boolean
,
default:
true
,
null:
false
end
def
down
remove_column
:project_incident_management_settings
,
:auto_close_incident
end
end
db/schema_migrations/20200820130839
0 → 100644
View file @
d23f2895
751a2c8e06b522b1564ea09f961d8883543a631874ae26bb14c98b7b442d59cc
\ No newline at end of file
db/structure.sql
View file @
d23f2895
...
...
@@ -14403,6 +14403,7 @@ CREATE TABLE public.project_incident_management_settings (
pagerduty_active
boolean
DEFAULT
false
NOT
NULL
,
encrypted_pagerduty_token
bytea
,
encrypted_pagerduty_token_iv
bytea
,
auto_close_incident
boolean
DEFAULT
true
NOT
NULL
,
CONSTRAINT
pagerduty_token_iv_length_constraint
CHECK
((
octet_length
(
encrypted_pagerduty_token_iv
)
<=
12
)),
CONSTRAINT
pagerduty_token_length_constraint
CHECK
((
octet_length
(
encrypted_pagerduty_token
)
<=
255
))
);
...
...
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