Get new api endpoints working

This commit is contained in:
Owen
2025-02-21 16:12:21 -05:00
parent 6e1bfdac58
commit b1f4971f25
13 changed files with 79 additions and 51 deletions

View File

@@ -173,7 +173,7 @@ export const olmSessions = sqliteTable("clientSession", {
sessionId: text("id").primaryKey(),
olmId: text("olmId")
.notNull()
.references(() => newts.newtId, { onDelete: "cascade" }),
.references(() => olms.olmId, { onDelete: "cascade" }),
expiresAt: integer("expiresAt").notNull()
});