mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
🗃️ add bluePrintRuns model
This commit is contained in:
@@ -710,6 +710,16 @@ export const idpOrg = sqliteTable("idpOrg", {
|
||||
orgMapping: text("orgMapping")
|
||||
});
|
||||
|
||||
// Blueprint runs
|
||||
export const blueprintRuns = sqliteTable("blueprintRuns", {
|
||||
blueprintRunId: text("blueprintRunId").primaryKey().notNull(),
|
||||
createdAt: integer("createdAt", {mode: 'timestamp'}).notNull(),
|
||||
succeeded: integer("succeeded", { mode: "boolean" }).notNull(),
|
||||
contents: text("contents").notNull(),
|
||||
message: text("message")
|
||||
});
|
||||
|
||||
|
||||
export type Org = InferSelectModel<typeof orgs>;
|
||||
export type User = InferSelectModel<typeof users>;
|
||||
export type Site = InferSelectModel<typeof sites>;
|
||||
|
||||
Reference in New Issue
Block a user