DT
Drizzle TeamGerbuuun
Drizzle-kit database push connection error
When trying to run
drizzle-kit push:mysql
to push my schema to Planetscale, I get the following error.
Am I missing something?
This is my drizzle.config.ts
And my .env
file looks like this:
McPizza•320d ago
AFAIK the standard
dotenv
does not support dynamic values
Does it work if you just set the string manually instead of dynamically?
You may also need to wrap the whole env in ' '
to ensure characters are escaped correctlyGerbuuun•320d ago
Aha, gotcha. That solved the problem. Thanks!
McPizza•319d ago
You could also have it be dynamic:
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 PostsTypescript error when importing the planetscale-drizzle db instance.my db is hosted on planetscale and im trying to do the setup as explained in the drizzle docs but whMapped column name and relation with the original nameHi, I am taking over an old project and have found an issue, I'm not sure if I should file it as a bHow to properly do foreign keys in schema with PlanetScale?I'm aware that foreign key *constrains* aren't supported, but foreign keys themselves are.
push:
``Typescript path alias not working properlyI'm new to Drizzle, but I'm not able to use the path alias on schema files.
Using absolute paths onExpand query from ID using .select()Hi! I am trying to get the first name of a comment author, but only store the ID so the user can chaPGEnum -> Typescript EnumHey there. Is there any convenient way people have found to conveniently turn a pgEnum into a typescIs Drizzle Kit/Drizzle Studio possible with RDS Data API?I'm able to create the RDSDataClient for querying my DB using Drizzle ORM, but I don't see a way to How to apply migrations on postgres in a serverless enviroment?Hello,
I want to apply postgres migrations to my vercel DB. I see that the push command does not wo