mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
added measure_type to bd
This commit is contained in:
parent
2cb277ca2b
commit
36163e40db
4 changed files with 2990 additions and 0 deletions
1
src/app/db/migrations/0098_grey_vector.sql
Normal file
1
src/app/db/migrations/0098_grey_vector.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE "recommendation" ADD COLUMN "measure_type" text;
|
||||
2981
src/app/db/migrations/meta/0098_snapshot.json
Normal file
2981
src/app/db/migrations/meta/0098_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -687,6 +687,13 @@
|
|||
"when": 1727945843077,
|
||||
"tag": "0097_pale_demogoblin",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 98,
|
||||
"version": "5",
|
||||
"when": 1727949671527,
|
||||
"tag": "0098_grey_vector",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -22,6 +22,7 @@ export const recommendation = pgTable("recommendation", {
|
|||
.references(() => property.id),
|
||||
createdAt: timestamp("created_at").notNull().defaultNow(),
|
||||
type: text("type").notNull(),
|
||||
measureType: text("measure_type"),
|
||||
description: text("description").notNull(),
|
||||
estimatedCost: real("estimated_cost"),
|
||||
// default will indicate whether a mtaterial is currently being used in a recommendation and we will use this boolean to switch
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue