How To Create New table In Laravel

Follow Steps How To Create New table In Laravel:

Create Migration:

Using the bellow command you can create migration for a database table.

php artisan make:migration create_table_name_table

After running the above command, you can see create new file as below and you have to add a new column:

Location:-database/migrations/2023_07_28_095831_create_table_name_table.php

Run Migration:
Using the below command we can run our migration and create a database table.

php artisan migrate


After that you can see the created new table in your database as like bellow: