mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Add part as an option for unitQuantity
This commit is contained in:
parent
58d02ac217
commit
db9dc773a0
4 changed files with 1313 additions and 1 deletions
1
src/app/db/migrations/0044_huge_shocker.sql
Normal file
1
src/app/db/migrations/0044_huge_shocker.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TYPE "unit_quantity" ADD VALUE 'part';
|
||||
1304
src/app/db/migrations/meta/0044_snapshot.json
Normal file
1304
src/app/db/migrations/meta/0044_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -309,6 +309,13 @@
|
|||
"when": 1700232042052,
|
||||
"tag": "0043_dear_lockheed",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 44,
|
||||
"version": "5",
|
||||
"when": 1700490618083,
|
||||
"tag": "0044_huge_shocker",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -37,7 +37,7 @@ export const recommendation = pgTable("recommendation", {
|
|||
totalWorkHours: real("total_work_hours"),
|
||||
});
|
||||
|
||||
export const unitQuantity: [string, ...string[]] = ["m2"];
|
||||
export const unitQuantity: [string, ...string[]] = ["m2", "part"];
|
||||
export const unitQuantityEnum = pgEnum("unit_quantity", unitQuantity);
|
||||
|
||||
export const recommendationMaterials = pgTable("recommendation_materials", {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue