Level 70
@slouma I think you need to remove Event::fake().
Or if you really want to use Event::fake() then you need to create UUID for user manually.
Summer Sale! All accounts are 50% off this week.
Event::fake(); $user = User::factory()->create([ 'email_verified_at' => null, ]); fails : SQLSTATE[23000]: Integrity constraint violation: 19 NOT NULL constraint failed: users.id
Please or to participate in this conversation.