From 6760c2394b3eb589bbbd14d95465e551bc06145b Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 26 Jun 2024 16:06:58 +0100 Subject: [PATCH] Added is_installer_quote to materials table --- src/app/db/migrations/meta/_journal.json | 7 +++++++ src/app/db/schema/materials.ts | 1 + 2 files changed, 8 insertions(+) diff --git a/src/app/db/migrations/meta/_journal.json b/src/app/db/migrations/meta/_journal.json index 50253d4..d0df2a2 100644 --- a/src/app/db/migrations/meta/_journal.json +++ b/src/app/db/migrations/meta/_journal.json @@ -484,6 +484,13 @@ "when": 1713222141154, "tag": "0068_demonic_roughhouse", "breakpoints": true + }, + { + "idx": 69, + "version": "5", + "when": 1719414126722, + "tag": "0069_rich_klaw", + "breakpoints": true } ] } \ No newline at end of file diff --git a/src/app/db/schema/materials.ts b/src/app/db/schema/materials.ts index 9f94cbe..5b0396f 100644 --- a/src/app/db/schema/materials.ts +++ b/src/app/db/schema/materials.ts @@ -93,6 +93,7 @@ export const material = pgTable("material", { total_cost: real("total_cost"), cost: json("cost").$type(), notes: text("notes"), + isInstallerQuote: boolean("is_installer_quote").default(false), }); export type Material = InferModel;