Commit 80ea2c22 authored by Manoj M J's avatar Manoj M J

Add subgroup_events column to web_hooks table

This change adds new column named
`subgroup_events` to `web_hooks` table.
parent e1c35852
---
title: Add subgroup_events column to web_hooks table
merge_request: 52648
author:
type: added
# frozen_string_literal: true
class AddSubgroupEventsToWebHooks < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
add_column :web_hooks, :subgroup_events, :boolean, null: false, default: false
end
end
e978687e9b27db5288862ea85053f3fc04a8e841702b16ca17c01398a86654d0
\ No newline at end of file
...@@ -18240,7 +18240,8 @@ CREATE TABLE web_hooks ( ...@@ -18240,7 +18240,8 @@ CREATE TABLE web_hooks (
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 member_events boolean DEFAULT false NOT NULL,
subgroup_events boolean DEFAULT false NOT NULL
); );
CREATE SEQUENCE web_hooks_id_seq CREATE SEQUENCE 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