matteocontrini thanks 🙈
<?php
use Flarum\Database\Migration;
use Illuminate\Database\Schema\Blueprint;
return Migration::createTable(
'queue_failed',
function (Blueprint $table) {
$table->bigIncrements('id');
$table->text('connection');
$table->text('queue');
$table->longText('payload');
$table->longText('exception');
$table->timestamp('failed_at')->useCurrent();
}
);
This would then be a local migration, you would have to create a command to make that table. I think it would make more sense for core to have this table by default, @askvortsov what do you think?