mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
push
This commit is contained in:
parent
d24c2a191a
commit
c6ef1883ec
2 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import * as EnergyAssessmentsSchema from "@/app/db/schema/energy_assessments";
|
|||
import * as FundingSchema from "@/app/db/schema/funding";
|
||||
import * as Relations from "@/app/db/schema/relations";
|
||||
import * as Users from "@/app/db/schema/users";
|
||||
import * as hubspotDataSchema from "@/app/db/schema/crm";
|
||||
|
||||
export const pool = new Pool({
|
||||
host: process.env.DB_HOST,
|
||||
|
|
@ -31,6 +32,7 @@ const schema = {
|
|||
...EnergyAssessmentsSchema,
|
||||
...FundingSchema,
|
||||
...Users,
|
||||
...hubspotDataSchema,
|
||||
};
|
||||
|
||||
export const db = drizzle(pool, {
|
||||
|
|
|
|||
2
src/app/db/schema/crm/index.ts
Normal file
2
src/app/db/schema/crm/index.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
export * from "./hubspot_company_table";
|
||||
export * from "./hubspot_deal_table";
|
||||
Loading…
Add table
Reference in a new issue