mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-31 12:39:51 +00:00
Update postgres schema
This commit is contained in:
@@ -772,6 +772,7 @@ export const resourceAccessToken = pgTable("resourceAccessToken", {
|
||||
resourceId: integer("resourceId")
|
||||
.notNull()
|
||||
.references(() => resources.resourceId, { onDelete: "cascade" }),
|
||||
path: varchar("path"),
|
||||
tokenHash: varchar("tokenHash").notNull(),
|
||||
sessionLength: bigint("sessionLength", { mode: "number" }).notNull(),
|
||||
expiresAt: bigint("expiresAt", { mode: "number" }),
|
||||
|
||||
Reference in New Issue
Block a user