summaryrefslogtreecommitdiff
path: root/packages/db
diff options
context:
space:
mode:
authorANAGO Ronnel <ronnel.anago@external.grtgaz.com>2025-06-26 02:51:17 +0200
committerANAGO Ronnel <ronnel.anago@external.grtgaz.com>2025-06-26 02:51:17 +0200
commitebb3456c1040da3457b5d939ee3d62d0770763b2 (patch)
tree089cf92220aea73048fd081f553e08ba0ac9f0f5 /packages/db
parenta8d6bbd03a4c5a89075d75ea37b61afa5efe373a (diff)
downloadopencut-ebb3456c1040da3457b5d939ee3d62d0770763b2.tar.gz
refactor: update imports in waitlist API and library to ensure consistent usage of drizzle-orm functions
Diffstat (limited to 'packages/db')
-rw-r--r--packages/db/src/index.ts5
1 files changed, 4 insertions, 1 deletions
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