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
2015bd47
Commit
2015bd47
authored
Dec 08, 2020
by
Serena Fang
Committed by
Patrick Bair
Dec 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add member events to webhooks table
This is just adding the column, actual implementation will come after
parent
f5aaf89a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
1 deletion
+17
-1
changelogs/unreleased/group-member-webhook-column.yml
changelogs/unreleased/group-member-webhook-column.yml
+5
-0
db/migrate/20201204205814_add_member_events_to_web_hooks.rb
db/migrate/20201204205814_add_member_events_to_web_hooks.rb
+9
-0
db/schema_migrations/20201204205814
db/schema_migrations/20201204205814
+1
-0
db/structure.sql
db/structure.sql
+2
-1
No files found.
changelogs/unreleased/group-member-webhook-column.yml
0 → 100644
View file @
2015bd47
---
title
:
Add member_events column to web_hooks table
merge_request
:
49273
author
:
type
:
added
db/migrate/20201204205814_add_member_events_to_web_hooks.rb
0 → 100644
View file @
2015bd47
# frozen_string_literal: true
class
AddMemberEventsToWebHooks
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
change
add_column
:web_hooks
,
:member_events
,
:boolean
,
null:
false
,
default:
false
end
end
db/schema_migrations/20201204205814
0 → 100644
View file @
2015bd47
8178b8a9acf7d2d8990bb6f7d984eb9e3b77d45cb2a8b54b56500ef6f93772ad
\ No newline at end of file
db/structure.sql
View file @
2015bd47
...
@@ -17713,7 +17713,8 @@ CREATE TABLE web_hooks (
...
@@ -17713,7 +17713,8 @@ CREATE TABLE web_hooks (
encrypted_url_iv
character
varying
,
encrypted_url_iv
character
varying
,
deployment_events
boolean
DEFAULT
false
NOT
NULL
,
deployment_events
boolean
DEFAULT
false
NOT
NULL
,
releases_events
boolean
DEFAULT
false
NOT
NULL
,
releases_events
boolean
DEFAULT
false
NOT
NULL
,
feature_flag_events
boolean
DEFAULT
false
NOT
NULL
feature_flag_events
boolean
DEFAULT
false
NOT
NULL
,
member_events
boolean
DEFAULT
false
NOT
NULL
);
);
CREATE
SEQUENCE
web_hooks_id_seq
CREATE
SEQUENCE
web_hooks_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