mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Added new unit to materials table
This commit is contained in:
parent
ffc14bd630
commit
86c0b3bcd1
4 changed files with 1452 additions and 0 deletions
1
src/app/db/migrations/0055_sour_overlord.sql
Normal file
1
src/app/db/migrations/0055_sour_overlord.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TYPE "cost_unit" ADD VALUE 'gbp_per_m';
|
||||
1443
src/app/db/migrations/meta/0055_snapshot.json
Normal file
1443
src/app/db/migrations/meta/0055_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -386,6 +386,13 @@
|
|||
"when": 1701440165529,
|
||||
"tag": "0054_sharp_mojo",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 55,
|
||||
"version": "5",
|
||||
"when": 1701714330225,
|
||||
"tag": "0055_sour_overlord",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -46,6 +46,7 @@ export const CostUnit: [string, ...string[]] = [
|
|||
"gbp_sq_meter",
|
||||
"gbp_per_unit",
|
||||
"gbp_per_m2",
|
||||
"gbp_per_m",
|
||||
];
|
||||
export const costUnitEnum = pgEnum("cost_unit", CostUnit);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue