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
b56b9c8a
Commit
b56b9c8a
authored
Jul 29, 2020
by
Vladimir Shushlin
Committed by
Adam Hegyi
Jul 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add deployment_events to webhooks table
parent
3a75f033
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
1 deletion
+17
-1
changelogs/unreleased/25344-fire-webhook-on-new-deployment.yml
...elogs/unreleased/25344-fire-webhook-on-new-deployment.yml
+5
-0
db/migrate/20200728163009_add_deployment_events_to_web_hooks.rb
...rate/20200728163009_add_deployment_events_to_web_hooks.rb
+9
-0
db/schema_migrations/20200728163009
db/schema_migrations/20200728163009
+1
-0
db/structure.sql
db/structure.sql
+2
-1
No files found.
changelogs/unreleased/25344-fire-webhook-on-new-deployment.yml
0 → 100644
View file @
b56b9c8a
---
title
:
Add deployment_events flag to web_hooks table
merge_request
:
38080
author
:
type
:
added
db/migrate/20200728163009_add_deployment_events_to_web_hooks.rb
0 → 100644
View file @
b56b9c8a
# frozen_string_literal: true
class
AddDeploymentEventsToWebHooks
<
ActiveRecord
::
Migration
[
6.0
]
DOWNTIME
=
false
def
change
add_column
:web_hooks
,
:deployment_events
,
:boolean
,
null:
false
,
default:
false
end
end
db/schema_migrations/20200728163009
0 → 100644
View file @
b56b9c8a
6613f518079ead2259b4189c91d3507724af18d1cf9e2014fab9b7543ec3d423
\ No newline at end of file
db/structure.sql
View file @
b56b9c8a
...
@@ -16471,7 +16471,8 @@ CREATE TABLE public.web_hooks (
...
@@ -16471,7 +16471,8 @@ CREATE TABLE public.web_hooks (
encrypted_token
character
varying
,
encrypted_token
character
varying
,
encrypted_token_iv
character
varying
,
encrypted_token_iv
character
varying
,
encrypted_url
character
varying
,
encrypted_url
character
varying
,
encrypted_url_iv
character
varying
encrypted_url_iv
character
varying
,
deployment_events
boolean
DEFAULT
false
NOT
NULL
);
);
CREATE
SEQUENCE
public
.
web_hooks_id_seq
CREATE
SEQUENCE
public
.
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