Fix migration down
Fix 5.3 compatibility