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 entity

kruzhambuse60f4987eab0
diff --git a/apps/production/src/project/entity/project.entity.ts b/apps/production/src/project/entity/project.entity.ts
index f98cc3a5d..7e7d0c67f 100644
--- a/apps/production/src/project/entity/project.entity.ts
+++ b/apps/production/src/project/entity/project.entity.ts
@@ -95,4 +95,14 @@ export class Project {
cascade: true,
})
subscribers: ProjectSubscriber[]
+
+ @Column('varchar', {
+ default: null,
+ length: 60,
+ nullable: true,
+ })
+ passwordHash: string | null
+
+ @Column('boolean', { default: false })
+ isPasswordProtected: boolean
}