Skip to content

Resolve "Add subgroup_events column to web_hooks table"

What does this MR do?

First step towards implementing #260419 (closed)

New column subgroup_events will be added to the web_hooks table.

Migration log

$ rake db:migrate

== 20210127052226 AddSubgroupEventsToWebHooks: migrating ======================
-- add_column(:web_hooks, :subgroup_events, :boolean, {:null=>false, :default=>false})
   -> 0.0069s
== 20210127052226 AddSubgroupEventsToWebHooks: migrated (0.0070s) =============


$ rake db:rollback

== 20210127052226 AddSubgroupEventsToWebHooks: reverting ======================
-- remove_column(:web_hooks, :subgroup_events, :boolean, {:null=>false, :default=>false})
   -> 0.0022s
== 20210127052226 AddSubgroupEventsToWebHooks: reverted (0.0042s) =============

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #260419 (closed)

Edited by Manoj M J

Merge request reports