Added is_installer_quote to materials table

This commit is contained in:
Khalim Conn-Kowlessar 2024-06-26 16:06:58 +01:00
parent 931b7e0143
commit 6760c2394b
2 changed files with 8 additions and 0 deletions

View file

@ -484,6 +484,13 @@
"when": 1713222141154,
"tag": "0068_demonic_roughhouse",
"breakpoints": true
},
{
"idx": 69,
"version": "5",
"when": 1719414126722,
"tag": "0069_rich_klaw",
"breakpoints": true
}
]
}

View file

@ -93,6 +93,7 @@ export const material = pgTable("material", {
total_cost: real("total_cost"),
cost: json("cost").$type<number[]>(),
notes: text("notes"),
isInstallerQuote: boolean("is_installer_quote").default(false),
});
export type Material = InferModel<typeof material, "select">;