Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20210212163231_add_merge_when_pipeline_succeeds_to_notification_settings.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 08d0a99436e3400bebe38e39ee9ec766e8d50750 (plain)
1
2
3
4
5
6
7
8
9
10
11
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