laravel database migration up to database diagram code example
Example 1: how to make-migrations in laravel
php artisan make:migration create_users_table --create=users
php artisan make:migration add_votes_to_users_table --table=users
Example 2: laravel migration
$table->string('name', 100);