restore original migration and switch to postgres for qa