feat(notification): email event date changes
This commit is contained in:
@@ -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');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user