Commit fe0cd041 authored by Adam Hegyi's avatar Adam Hegyi

Merge branch '25344-fire-webhook-on-new-deployment' into 'master'

Add deployment_events to webhooks table

See merge request gitlab-org/gitlab!38080
parents bcc3ed8a b56b9c8a
---
title: Add deployment_events flag to web_hooks table
merge_request: 38080
author:
type: added
# 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
6613f518079ead2259b4189c91d3507724af18d1cf9e2014fab9b7543ec3d423
\ No newline at end of file
......@@ -16471,7 +16471,8 @@ CREATE TABLE public.web_hooks (
encrypted_token character varying,
encrypted_token_iv 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment