You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
- class RemoveMentionUsersPermission < ActiveRecord::Migration[6.1]
- def up
- Role.reset_column_information
- Role.all.each do |r|
- r.remove_permission!(:mention_users) if r.has_permission?(:mention_users)
- end
- end
-
- def down
- # no-op
- end
- end
|