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

8 lines
241 B
Ruby

# frozen_string_literal: true
class AddNamespacesEmailsEnabledColumn < Gitlab::Database::Migration[2.0]
enable_lock_retries!
def change
add_column :namespace_settings, :emails_enabled, :boolean, default: true, null: false
end
end