migrations and server env with different configs