laravel database schema example mysql
Example 1: laravel profile migration tool
php artisan migrate:refresh
php artisan migrate:refresh --seed
Example 2: laravel before migration
Schema::table('users', function ($table) {
$table->string('email')->after('id')->nullable();
});