Clear cache after model has changed (prevent issues on upgrade).
This commit is contained in:
parent
de925979b7
commit
99c05d5176
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue