refactor: update imports in waitlist API and library to ensure consistent usage of drizzle-orm functions

This commit is contained in:
ANAGO Ronnel
2025-06-26 02:51:17 +02:00
parent a8d6bbd03a
commit ebb3456c10
3 changed files with 6 additions and 5 deletions

View File

@ -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";
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";