🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
No null organizationId for sites table
Edward Cui0877f492dcb9
diff --git a/server/src/db/postgres/schema.ts b/server/src/db/postgres/schema.tsindex b47222555..1378c2e77 100644--- a/server/src/db/postgres/schema.ts+++ b/server/src/db/postgres/schema.ts@@ -58,7 +58,7 @@ export const sites = pgTable(createdBy: text("created_by").notNull().references(() => user.id),- organizationId: text("organization_id").references(() => organization.id),+ organizationId: text("organization_id").notNull().references(() => organization.id),public: boolean().default(false),saltUserIds: boolean().default(false),blockBots: boolean().default(true).notNull(),