summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/auth/src/server.ts4
-rw-r--r--packages/db/src/index.ts5
2 files changed, 6 insertions, 3 deletions
diff --git a/packages/auth/src/server.ts b/packages/auth/src/server.ts
index f6c68dc5..6590c0af 100644
--- a/packages/auth/src/server.ts
+++ b/packages/auth/src/server.ts
@@ -16,7 +16,7 @@ export const auth = betterAuth({
emailAndPassword: {
enabled: true,
},
- socialProviders: {
+ socialProviders: {
google: {
clientId: process.env.GOOGLE_CLIENT_ID as string,
clientSecret: process.env.GOOGLE_CLIENT_SECRET as string,
@@ -26,4 +26,4 @@ export const auth = betterAuth({
trustedOrigins: ["http://localhost:3000"],
});
-export type Auth = typeof auth; \ No newline at end of file
+export type Auth = typeof auth;
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