laravel before columns code example
Example 1: laravel migration add column after
Schema::table('users', function ($table) {
$table->string('email')->after('id')->nullable();
});
Example 2: laravel rename table
Schema::rename($currentTableName, $newTableName);