Bugfixes
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user