2 Commits
Author SHA1 Message Date
Mark Gregory 93f640b6bc Clean up account provisioner comment 2026-10-02 10:54:24 +01:00
Mark Gregory b9e5604128 Add failed jobs queue migration 2026-10-02 10:54:00 +01:00
2 changed files with 26 additions and 1 deletions
@@ -28,7 +28,6 @@ final class PurchasedAccountProvisioner
* Paddle can deliver several related webhook events concurrently, so
* this lookup alone cannot guarantee that another request will not
* create the user between this SELECT and our INSERT.
* enure this is pushed
*/
$user = $this->findByEmail($email);
@@ -0,0 +1,26 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('failed_jobs', function (Blueprint $table): void {
$table->id();
$table->string('uuid')->unique();
$table->text('connection');
$table->text('queue');
$table->longText('payload');
$table->longText('exception');
$table->timestamp('failed_at')->useCurrent();
});
}
public function down(): void
{
Schema::dropIfExists('failed_jobs');
}
};