I create Unit Tests in project Laravel 5. I need to create a database when I run the test and add a tables in the database. I want create this functional with migration but I have issue with this. I can create migration from terminal by usin php artisan, but I don't know how create database directly from php code, and create tables in this database. Please let me know if you know how to do it, or you saw similar implementation.
Thanks
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire