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!

Add hooks to the user entity

Yehor Dremliuha45a12fc1759f
diff --git a/apps/production/src/user/entities/user.entity.ts b/apps/production/src/user/entities/user.entity.ts
index 90592a02a..e09d7d2c1 100644
--- a/apps/production/src/user/entities/user.entity.ts
+++ b/apps/production/src/user/entities/user.entity.ts
@@ -355,6 +355,12 @@ export class User {
})
apiKey: string | null
+ @Column('varchar', { default: null })
+ slackWebhookUrl: string | null
+
+ @Column('varchar', { default: null })
+ discordWebhookUrl: string | null
+
@Column({
type: 'varchar',
unique: true,