ensuring correct search path when migrating and loading schema