This commit is contained in:
2026-04-29 18:23:28 +02:00
parent 2444aab204
commit ce57669263
5 changed files with 7 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ return new class extends Migration {
$table->foreignId('cost_unit_id')->nullable()->constrained('cost_units', 'id')->restrictOnDelete()->cascadeOnUpdate();
$table->string('name');
$table->string('identifier');
$table->string('identifier')->unique();
$table->string('location');
$table->string('postal_code');
$table->string('email');

View File

@@ -22,7 +22,7 @@ return new class extends Migration {
$table->foreignId('event_id')->constrained('events', 'id')->cascadeOnDelete()->cascadeOnUpdate();
$table->foreignId('user_id')->nullable()->constrained('users', 'id')->cascadeOnDelete()->cascadeOnUpdate();
$table->string('identifier');
$table->string('identifier')->unique();
$table->string('firstname');
$table->string('lastname');
$table->string('nickname')->nullable();