Alter schema + add form field

This commit is contained in:
Owen
2026-05-28 20:15:13 -07:00
parent a32acf7c69
commit a9b0bd8b47
5 changed files with 253 additions and 1 deletions

View File

@@ -1101,6 +1101,7 @@ export const resourceAccessToken = sqliteTable("resourceAccessToken", {
resourceId: integer("resourceId")
.notNull()
.references(() => resources.resourceId, { onDelete: "cascade" }),
path: text("path"),
tokenHash: text("tokenHash").notNull(),
sessionLength: integer("sessionLength").notNull(),
expiresAt: integer("expiresAt"),