mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
✨process approval endpoint
This commit is contained in:
@@ -298,7 +298,7 @@ export const accessAuditLog = pgTable(
|
||||
);
|
||||
|
||||
export const approvals = pgTable("approvals", {
|
||||
id: serial("id").primaryKey(),
|
||||
approvalId: serial("approvalId").primaryKey(),
|
||||
timestamp: integer("timestamp").notNull(), // this is EPOCH time in seconds
|
||||
orgId: varchar("orgId")
|
||||
.references(() => orgs.orgId, {
|
||||
|
||||
@@ -290,7 +290,7 @@ export const accessAuditLog = sqliteTable(
|
||||
);
|
||||
|
||||
export const approvals = sqliteTable("approvals", {
|
||||
id: integer("id").primaryKey({ autoIncrement: true }),
|
||||
approvalId: integer("approvalId").primaryKey({ autoIncrement: true }),
|
||||
timestamp: integer("timestamp").notNull(), // this is EPOCH time in seconds
|
||||
orgId: text("orgId")
|
||||
.references(() => orgs.orgId, {
|
||||
|
||||
Reference in New Issue
Block a user