Add notes module
This commit is contained in:
+2
-1
@@ -3,9 +3,10 @@ import postgres from "postgres";
|
||||
import * as coreSchema from "@/modules/_core/schema";
|
||||
import * as calendarSchema from "@/modules/calendar/schema";
|
||||
import * as listsSchema from "@/modules/lists/schema";
|
||||
import * as notesSchema from "@/modules/notes/schema";
|
||||
|
||||
const client = postgres(process.env["DATABASE_URL"]!);
|
||||
|
||||
const schema = { ...coreSchema, ...calendarSchema, ...listsSchema };
|
||||
const schema = { ...coreSchema, ...calendarSchema, ...listsSchema, ...notesSchema };
|
||||
|
||||
export const db = drizzle(client, { schema });
|
||||
|
||||
Reference in New Issue
Block a user