create db table laravel code example
Example 1: laravel create migration
php artisan make:migration create_flights_table
php artisan make:migration create_flights_table --create=flights
php artisan make:migration add_destination_to_flights_table --table=flights
Example 2: laravel create migration
php artisan make:migration add_votes_to_users_table --table=users
php artisan make:migration create_users_table --create=users
Example 3: laravel make migration
php artisan make:migration CreateUsersTable
Example 4: laravel migration
$table->string('name', 100);