DT
Drizzle Teammigs
Field 'email' doesn't have a default with connection pool in MySQL
Im getting this error since switching to a connection pool from single connection. This happens when creating a new user in my app with next-auth.
I tried changing to connection pool because I kept getting the " Can't add new command when connection is in closed state. " when leaving the app open for a while, as others mentioned before.
Using normal Mysql (despite the logs mentioning planetscale -Im not using planetscale)
For some reason this is not happening when running locally, only on prod.
Does somebody know what this is ?
migs•28d ago
Fixed it. I had a custom scope on next auth for discord that was missing the email scope. Removed it so it uses the default scopes
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
7.4KMembers
View on DiscordWant results from more Discord servers?
More Poststabje.js exports not defined in table.d.tsIs there any reason why the table.d.ts is not matching with the table.js file?
table.js has these exHow not to exceed the max connections limit in the DB in a Serverless env like AWS lambda?[question] What is the recommended way to use drizzle in a serverless environment like AWS lambda - Need Help: `ilike` Function Not Returning Expected Results in Drizzle ORMHello Drizzle ORM Community!
I'm currently working with Drizzle ORM in a TypeScript environment usiIssues when running Drizzle studio on Vercel PostgresDB Pushing went fine (using Vercel), I can confirm the test table exists, but getting this issue whe