added measure_type to bd

This commit is contained in:
Khalim Conn-Kowlessar 2024-10-03 11:01:42 +01:00
parent 2cb277ca2b
commit 36163e40db
4 changed files with 2990 additions and 0 deletions

View file

@ -0,0 +1 @@
ALTER TABLE "recommendation" ADD COLUMN "measure_type" text;

File diff suppressed because it is too large Load diff

View file

@ -687,6 +687,13 @@
"when": 1727945843077,
"tag": "0097_pale_demogoblin",
"breakpoints": true
},
{
"idx": 98,
"version": "5",
"when": 1727949671527,
"tag": "0098_grey_vector",
"breakpoints": true
}
]
}

View file

@ -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