Commit b56b9c8a authored by Vladimir Shushlin's avatar Vladimir Shushlin Committed by Adam Hegyi

Add deployment_events to webhooks table

parent 3a75f033
---
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 ( ...@@ -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
......
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