laravel artisan run migration code example
Example 1: php artisan make migration
php artisan make:migration create_users_table
Example 2: php artisan run migration
php artisan migrate
Example 3: 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 4: migrate to an existing table in laravel commad
public function up()
{
Schema::table('users', function($table) {
$table->integer('paid');
});
}