mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-08 11:37:25 +00:00
show this to khalim
This commit is contained in:
parent
bb14900e1a
commit
2825eb1062
1 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ 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 { tasks } from "@/app/db/schema/tasks/tasks";
|
||||
import { subTasks } from "@/app/db/schema/tasks/subtask";
|
||||
|
||||
export const pool = new Pool({
|
||||
host: process.env.DB_HOST,
|
||||
|
|
@ -31,6 +33,8 @@ const schema = {
|
|||
...EnergyAssessmentsSchema,
|
||||
...FundingSchema,
|
||||
...Users,
|
||||
tasks,
|
||||
subTasks,
|
||||
};
|
||||
|
||||
export const db = drizzle(pool, {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue