Local DB migration fix.