jackpopp's avatar

Migrating a test database

HI!

I have a test database that I want to use with codeception and I need to run the migrations for it. I've created a .env.testing file and set up the configuration and then tried running:

php artisan migrate --env=testing

But it still seems to use the normal .env configuration instead of my test config, any ideas where I might be going wrong?

Thanks!

0 likes
2 replies
jackpopp's avatar

Hey, thanks thats a nice little work around. I'm glad it wasn't just me doing something wrong!

Please or to participate in this conversation.