Add part as an option for unitQuantity

This commit is contained in:
Khalim Conn-Kowlessar 2023-11-20 14:30:54 +00:00
parent 58d02ac217
commit db9dc773a0
4 changed files with 1313 additions and 1 deletions

View file

@ -0,0 +1 @@
ALTER TYPE "unit_quantity" ADD VALUE 'part';

File diff suppressed because it is too large Load diff

View file

@ -309,6 +309,13 @@
"when": 1700232042052,
"tag": "0043_dear_lockheed",
"breakpoints": true
},
{
"idx": 44,
"version": "5",
"when": 1700490618083,
"tag": "0044_huge_shocker",
"breakpoints": true
}
]
}

View file

@ -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", {