debian-mirror-gitlab/db/migrate/20221116134507_add_projects_emails_enabled_column.rb
2023-04-23 21:23:45 +05:30

7 lines
236 B
Ruby

# 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