laravel many to many migration 1

laravel many to many migration

php artisan make:migration create_posts_users_table

Here is what the above code is Doing:
1. We’re using the make:migration command to create a new migration file.
2. We’re naming the migration file create_posts_users_table.
3. We’re using the –create flag to tell Laravel that we want to create a new table.
4. We’re passing in the name of the table we want to create.

Similar Posts