mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
Added energy assessments schema to db
This commit is contained in:
parent
e50b159d6a
commit
5ac0ba8f08
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import * as propertySchema from "@/app/db/schema/property";
|
|||
import * as recommendationSchema from "@/app/db/schema/recommendations";
|
||||
import * as materialSchema from "@/app/db/schema/materials";
|
||||
import * as solarSchema from "@/app/db/schema/solar";
|
||||
import * as EnergyAssessmentsSchema from "@/app/db/schema/energy_assessments";
|
||||
import * as Relations from "@/app/db/schema/relations";
|
||||
|
||||
export const pool = new Pool({
|
||||
|
|
@ -25,6 +26,7 @@ const schema = {
|
|||
...materialSchema,
|
||||
...solarSchema,
|
||||
...Relations,
|
||||
...EnergyAssessmentsSchema,
|
||||
};
|
||||
|
||||
export const db = drizzle(pool, {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue