Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fixed error with user nickname

Yevhenii Kulisidi8ff8a26bd453
diff --git a/src/user/entities/user.entity.ts b/src/user/entities/user.entity.ts
index f573f297e..6785c39e4 100644
--- a/src/user/entities/user.entity.ts
+++ b/src/user/entities/user.entity.ts
@@ -92,8 +92,8 @@ export class User {
})
planCode: PlanCode
- @Column('varchar', { length: 100 })
- nickname: string
+ @Column('varchar', { length: 100, nullable: true, default: null })
+ nickname: string | null
@Column('varchar', { length: 254, unique: true })
email: string