mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
6 lines
241 B
Ruby
6 lines
241 B
Ruby
class ChangeDefaultNotificationLevelOnGroups < ActiveRecord::Migration
|
|
def change
|
|
execute "UPDATE group_users SET notification_level = 2"
|
|
change_column :group_users, :notification_level, :integer, null: false, default: 2
|
|
end
|
|
end
|