Clear cache after model has changed (prevent issues on upgrade).

This commit is contained in:
Martin Edenhofer 2017-06-19 08:21:07 +02:00
parent de925979b7
commit 99c05d5176

View file

@ -19,5 +19,7 @@ class EnhancedPermissions < ActiveRecord::Migration
add_index :roles_groups, [:role_id] add_index :roles_groups, [:role_id]
add_index :roles_groups, [:group_id] add_index :roles_groups, [:group_id]
add_index :roles_groups, [:access] add_index :roles_groups, [:access]
Cache.clear
end end
end end