mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 13:39:36 -06:00
7 lines
246 B
Ruby
7 lines
246 B
Ruby
class ChangeDefaultNotificationLevelOnGroups < ActiveRecord::Migration[4.2]
|
|
def change
|
|
execute "UPDATE group_users SET notification_level = 2"
|
|
change_column :group_users, :notification_level, :integer, null: false, default: 2
|
|
end
|
|
end
|