🗃️ add bluePrintRuns model

This commit is contained in:
Fred KISSIE
2025-10-22 14:02:37 +02:00
parent 3633e02ff7
commit 5fd104bb30

View File

@@ -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>;