debian-mirror-gitlab/db/migrate/20221116134507_add_projects_emails_enabled_column.rb

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

8 lines
236 B
Ruby
Raw Normal View History

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