debian-mirror-gitlab/db/migrate/20221116134539_add_namespaces_emails_enabled_column.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
241 B
Ruby
Raw Normal View History

2023-04-23 21:23:45 +05:30
# 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