FEATURE: notification_level on a per-group basis

This commit is contained in:
Régis Hanol
2015-12-14 23:17:09 +01:00
parent d0bbf5c9a6
commit 15c229195f
17 changed files with 137 additions and 30 deletions

View File

@@ -0,0 +1,6 @@
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