From ebb3456c1040da3457b5d939ee3d62d0770763b2 Mon Sep 17 00:00:00 2001 From: ANAGO Ronnel Date: Thu, 26 Jun 2025 02:51:17 +0200 Subject: refactor: update imports in waitlist API and library to ensure consistent usage of drizzle-orm functions --- packages/db/src/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/db/src/index.ts b/packages/db/src/index.ts index b712776c..91fc841d 100644 --- a/packages/db/src/index.ts +++ b/packages/db/src/index.ts @@ -13,4 +13,7 @@ const client = postgres(process.env.DATABASE_URL); export const db = drizzle(client, { schema }); // Re-export schema for convenience -export * from "./schema"; \ No newline at end of file +export * from "./schema"; + +// Re-export drizzle-orm functions to ensure version consistency +export { eq, and, or, not, isNull, isNotNull, inArray, notInArray, exists, notExists, sql } from "drizzle-orm"; \ No newline at end of file -- cgit v1.3.1