Cleanup (remove all tables and create new ones)
Get inside the PHP container
Code Block |
---|
docker exec -it php /bin/sh |
Clear the database
Code Block |
---|
php artisan migrate:refresh |
Seeding (feed the database with default values)
Get inside the PHP container
Code Block |
---|
docker exec -it php /bin/sh |
Seed the database
Code Block |
---|
php artisan db:seed |