mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Added new material types to db
This commit is contained in:
parent
83616e699e
commit
58d02ac217
4 changed files with 1314 additions and 0 deletions
2
src/app/db/migrations/0043_dear_lockheed.sql
Normal file
2
src/app/db/migrations/0043_dear_lockheed.sql
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
ALTER TYPE "type" ADD VALUE 'flat_roof_insulation';--> statement-breakpoint
|
||||
ALTER TYPE "type" ADD VALUE 'room_roof_insulation';
|
||||
1303
src/app/db/migrations/meta/0043_snapshot.json
Normal file
1303
src/app/db/migrations/meta/0043_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -302,6 +302,13 @@
|
|||
"when": 1698134217344,
|
||||
"tag": "0042_past_shape",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 43,
|
||||
"version": "5",
|
||||
"when": 1700232042052,
|
||||
"tag": "0043_dear_lockheed",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -18,6 +18,8 @@ export const MaterialType: [string, ...string[]] = [
|
|||
"mechanical_ventilation",
|
||||
"loft_insulation",
|
||||
"exposed_floor_insulation",
|
||||
"flat_roof_insulation",
|
||||
"room_roof_insulation",
|
||||
];
|
||||
export const materialTypeEnum = pgEnum("type", MaterialType);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue