discourse/db/migrate/20151214165852_add_notification_level_to_group_users.rb
2015-12-14 23:17:09 +01:00

7 lines
231 B
Ruby

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