Delete cache for invalidate overview caches.
This commit is contained in:
parent
f0f4f278c3
commit
0554701430
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ class OverviewRoleIds < ActiveRecord::Migration
|
||||||
overview.save!
|
overview.save!
|
||||||
}
|
}
|
||||||
remove_column :overviews, :role_id
|
remove_column :overviews, :role_id
|
||||||
|
|
||||||
|
Cache.clear
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue