laravel make table code example

Example 1: add column in laravel migration

php artisan make:migration add_paid_to_users_table --table=users

Example 2: laravel profile migration tool

php artisan migrate:refresh

php artisan migrate:refresh --seed

Example 3: create database from migration laravel for all

php artisan migrate --force

Example 4: create migration laravel

php artisan make:Model Product -m -c  --resource

Example 5: create table laravel

php artisan make:migration create_employeeDetails_table --create=Employee
//goto create_employeeDetails_table file and add fields in table
php artisan migrate

Tags:

Php Example