vendredi 1 février 2019

Laravel 5 : test artisan migrate with path

I need a little help please :

With Laravel migrations, I like to put the migration in subfolder.

in a testing class, this works :

$this->artisan('migrate:fresh');

But, this does not work :

$this->artisan('migrate:fresh --path=/database/migrations/v1');

Do you have the solution please to specify the path with the tests?

Thank you.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire