[code-snippet] How to add columns after a certain existing column with Laravel migrations

I recently needed to add columns to an existing table in a Laravel project and I had to reach to this functionality, hope you find it helpful:

/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('jobs', function (Blueprint $table) {
$table->after('payload', function (Blueprint $table) {
$table->unsignedInteger('reserved_at')->nullable();
$table->unsignedInteger('available_at');
});
});
}