id(); $table->foreignId('preregistration_page_id')->constrained()->cascadeOnDelete(); $table->string('first_name'); $table->string('last_name'); $table->string('email'); $table->string('phone')->nullable(); $table->boolean('synced_to_mailwizz')->default(false); $table->timestamp('synced_at')->nullable(); $table->timestamps(); $table->unique(['preregistration_page_id', 'email']); }); } public function down(): void { Schema::dropIfExists('subscribers'); } };