debian-mirror-gitlab/db/migrate/20210212163231_add_merge_when_pipeline_succeeds_to_notification_settings.rb
2021-04-17 20:07:23 +05:30

13 lines
405 B
Ruby

# 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