discourse/db/migrate/20151214165852_add_notifica...

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

9 lines
267 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
class AddNotificationLevelToGroupUsers < ActiveRecord::Migration[4.2]
def change
# defaults to TopicUser.notification_levels[:watching]
add_column :group_users, :notification_level, :integer, default: 3, null: false
end
end