Added labour days to database

This commit is contained in:
Khalim Conn-Kowlessar 2023-11-28 11:56:22 +00:00
parent 54300123bf
commit 4ed3572592
3 changed files with 9 additions and 0 deletions

View file

@ -358,6 +358,13 @@
"when": 1700765818548,
"tag": "0050_clumsy_wind_dancer",
"breakpoints": true
},
{
"idx": 51,
"version": "5",
"when": 1701172557411,
"tag": "0051_fat_callisto",
"breakpoints": true
}
]
}

View file

@ -56,6 +56,7 @@ export const portfolio = pgTable("portfolio", {
propertyValuationIncrease: real("property_valuation_increase"), // Unit is always £ so we don't need to store unit for the moment
rentalYieldIncrease: real("rental_yield_increase"), // Unit is always £ so we don't need to store unit for the moment
totalWorkHours: real("total_work_hours"),
labourDays: real("labour_days"),
createdAt: timestamp("created_at", {
precision: 6,
withTimezone: true,

View file

@ -35,6 +35,7 @@ export const recommendation = pgTable("recommendation", {
propertyValuationIncrease: real("property_valuation_increase"),
rentalYieldIncrease: real("rental_yield_increase"),
totalWorkHours: real("total_work_hours"),
labourDays: real("labour_days"),
});
export const unitQuantity: [string, ...string[]] = ["m2", "part"];