mardi 8 novembre 2022

I type php artisan make:migartion ... and php artisan migrate, but table was not created

I create laravel5,mysql8 environment with docker-compose. I create post table with laravel migration. but I entered mysql container and checked if the table was created, but the table was not created.

I type php artisan make:migration create_posts_table and It works. Then, I did the following. enter image description here

as pictured, table is not exist. why is this? Thank you for your help.

enter image description here

enter image description here



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire