after column in laravel migration code example
Example 1: laravel migration add column after
Schema::table('users', function ($table) {
$table->string('email')->after('id')->nullable();
});
Example 2: migrations required field laravel
$table->string('foo')->nullable(false)->change();
Example 3: php artisan see last migration
php artisan migrate:status