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
25f67a88
Commit
25f67a88
authored
Mar 02, 2021
by
Sean Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update migration to have null: false
parent
fc6d3431
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
db/migrate/20210222030537_add_is_removed_to_oncall_participant.rb
...te/20210222030537_add_is_removed_to_oncall_participant.rb
+4
-2
db/structure.sql
db/structure.sql
+1
-1
No files found.
db/migrate/20210222030537_add_is_removed_to_oncall_participant.rb
View file @
25f67a88
...
...
@@ -7,11 +7,13 @@ class AddIsRemovedToOncallParticipant < ActiveRecord::Migration[6.0]
def
up
with_lock_retries
do
add_column
:incident_management_oncall_participants
,
:is_removed
,
:boolean
,
default:
false
add_column
:incident_management_oncall_participants
,
:is_removed
,
:boolean
,
default:
false
,
null:
false
end
end
def
down
with_lock_retries
do
remove_column
:incident_management_oncall_participants
,
:is_removed
end
end
end
db/structure.sql
View file @
25f67a88
...
...
@@ -13234,7 +13234,7 @@ CREATE TABLE incident_management_oncall_participants (
user_id bigint NOT NULL,
color_palette smallint NOT NULL,
color_weight smallint NOT NULL,
is_removed boolean DEFAULT false
is_removed boolean DEFAULT false
NOT NULL
);
CREATE SEQUENCE incident_management_oncall_participants_id_seq
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