diff --git a/app/Models/User.php b/app/Models/User.php index b01c34e..cf65264 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -85,7 +85,7 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication static::creating(function (User $user) { - dd($user); + // dd($user); $user->role = 'gutachter'; }); diff --git a/database/migrations/0001_01_01_000000_create_users_table.php b/database/migrations/0001_01_01_000000_create_users_table.php index 108601f..d694cac 100644 --- a/database/migrations/0001_01_01_000000_create_users_table.php +++ b/database/migrations/0001_01_01_000000_create_users_table.php @@ -16,8 +16,6 @@ return new class extends Migration $table->foreignId('konto_id')->constrained()->cascadeOnDelete()->default(0); $table->string('gender')->nullable(); $table->string('name'); - $table->string('first_name'); - $table->string('last_name'); $table->string('email')->unique(); $table->timestamp('email_verified_at')->nullable(); $table->string('password');