feat(notification): email event date changes

This commit is contained in:
2026-09-14 08:53:51 -03:00
parent 205d77bc0b
commit 756f4dad0a
10 changed files with 601 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?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('event_date_notification_deliveries', function (Blueprint $table): void {
$table->id();
$table->string('notification_key')->unique();
$table->string('notification_type');
$table->string('tenant_code');
$table->unsignedBigInteger('event_date_id');
$table->unsignedBigInteger('destination_event_date_id')->nullable();
$table->unsignedBigInteger('purchase_id');
$table->timestamp('sent_at')->nullable();
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('event_date_notification_deliveries');
}
};