Revert "Fix migration error when uninstalling plugin. Introduced by removing table in a later migration."

This reverts commit 8d8dcc195e13dfb6d695a260878a138cee6715ea.
Correct rollback and restore of previous release cache migration