Serial and Other

This commit is contained in:
2026-01-01 15:33:48 +01:00
parent 97f66f808a
commit a3df87caee
9 changed files with 910 additions and 7 deletions

View File

@@ -17,6 +17,7 @@ import { letterheads } from "./letterheads"
import { projects } from "./projects"
import { plants } from "./plants"
import { authUsers } from "./auth_users"
import {serialExecutions} from "./serialexecutions";
export const createddocuments = pgTable("createddocuments", {
id: bigint("id", { mode: "number" })
@@ -115,6 +116,8 @@ export const createddocuments = pgTable("createddocuments", {
contract: bigint("contract", { mode: "number" }).references(
() => contracts.id
),
serialexecution: uuid("serialexecution").references(() => serialExecutions.id)
})
export type CreatedDocument = typeof createddocuments.$inferSelect