mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-12 13:28:55 +00:00
Merge pull request #381 from Hestia-Homes/feature/scenario-fabric-first
feat(db): add fabric_first flag to scenario
This commit is contained in:
commit
e48a5f4ae2
4 changed files with 12218 additions and 0 deletions
1
src/app/db/migrations/0268_free_magneto.sql
Normal file
1
src/app/db/migrations/0268_free_magneto.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE "scenario" ADD COLUMN "fabric_first" boolean DEFAULT false NOT NULL;
|
||||
12209
src/app/db/migrations/meta/0268_snapshot.json
Normal file
12209
src/app/db/migrations/meta/0268_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1870,6 +1870,13 @@
|
|||
"when": 1783521828294,
|
||||
"tag": "0267_add_hubspot_deal_planning_columns",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 268,
|
||||
"version": "7",
|
||||
"when": 1783596612599,
|
||||
"tag": "0268_free_magneto",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -318,6 +318,7 @@ export const scenario = pgTable("scenario", {
|
|||
exclusions: text("exclusions"),
|
||||
multiPlan: boolean("multi_plan"),
|
||||
isDefault: boolean("is_default").notNull(),
|
||||
fabricFirst: boolean("fabric_first").notNull().default(false),
|
||||
// Aggregations that were previously being stored against the portfolio, that are now being stored against the scenario
|
||||
cost: real("cost"),
|
||||
contingency: real("contingency"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue