Setting environment when migrating and seeding