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

20221116134507_add_projects_emails_enabled_column.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1499ea2752bd3f68704dc73feb6289c852d7864e (plain)
1
2
3
4
5
6
7
# frozen_string_literal: true
class AddProjectsEmailsEnabledColumn < Gitlab::Database::Migration[2.0]
  enable_lock_retries!
  def change
    add_column :project_settings, :emails_enabled, :boolean, default: true, null: false
  end
end