Snapshot of main at 9f39a6e1e (2026-11-02)

This commit is contained in:
Ronald Huynen committed 2026-11-02 10:41:47 +01:00
commit 6ccf1792d7
2580 files changed
+1040202

No files matched your search

@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up()
{
Schema::create('mailing_bounces', function (Blueprint $table) {
$table->id();
$table->string('email')->index();
$table->string('bounce_type')->nullable(); // hard, soft, complaint
$table->text('bounce_reason')->nullable();
$table->foreignId('mailing_id')->nullable()->constrained()->nullOnDelete();
$table->timestamp('bounced_at');
$table->boolean('is_suppressed')->default(false);
$table->timestamps();
$table->unique(['email', 'mailing_id']);
});
}
public function down()
{
Schema::dropIfExists('mailing_bounces');
}
};