diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-19 15:11:06 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-19 15:11:06 +0300 |
commit | 1fdc1d34e8e3cab28cd010a2b352974da9847e8e (patch) | |
tree | a8158b1ef1a1f09ccb7d4789a3d7e519d8825b37 /db | |
parent | c44a81b8b9f4c27bec1f6df6ea25f135c390b730 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20210212163231_add_merge_when_pipeline_succeeds_to_notification_settings.rb | 12 | ||||
-rw-r--r-- | db/schema_migrations/20210212163231 | 1 | ||||
-rw-r--r-- | db/structure.sql | 3 |
3 files changed, 15 insertions, 1 deletions
diff --git a/db/migrate/20210212163231_add_merge_when_pipeline_succeeds_to_notification_settings.rb b/db/migrate/20210212163231_add_merge_when_pipeline_succeeds_to_notification_settings.rb new file mode 100644 index 00000000000..08d0a99436e --- /dev/null +++ b/db/migrate/20210212163231_add_merge_when_pipeline_succeeds_to_notification_settings.rb @@ -0,0 +1,12 @@ +# frozen_string_literal: true + +# See https://docs.gitlab.com/ee/development/migration_style_guide.html +# for more information on how to write migrations for GitLab. + +class AddMergeWhenPipelineSucceedsToNotificationSettings < ActiveRecord::Migration[6.0] + DOWNTIME = false + + def change + add_column :notification_settings, :merge_when_pipeline_succeeds, :boolean, default: false, null: false + end +end diff --git a/db/schema_migrations/20210212163231 b/db/schema_migrations/20210212163231 new file mode 100644 index 00000000000..e0ba3d83bf5 --- /dev/null +++ b/db/schema_migrations/20210212163231 @@ -0,0 +1 @@ +4c6061f6ab1cb9e070a3ae87d44caf12d2c110a6033f0b33898b4b7ea7e37055
\ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index 0c69654f13e..3507cb74614 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -14530,7 +14530,8 @@ CREATE TABLE notification_settings ( fixed_pipeline boolean, new_release boolean, moved_project boolean DEFAULT true NOT NULL, - change_reviewer_merge_request boolean + change_reviewer_merge_request boolean, + merge_when_pipeline_succeeds boolean DEFAULT false NOT NULL ); CREATE SEQUENCE notification_settings_id_seq |