Set up drizzle config db url
Dependencies:
"drizzle-orm": "^0.31.2"
"drizzle-kit": "^0.22.7"
"@planetscale/database": "^1.18.0"
Setting up the configuration for this database has not been as straight forward as expected.
I have a new db called findasetter_v2 under findasetter planet scale organisation. Drizzle config looks like:
db set up - I've tried two approaches:
DB url looks like
DATABASE_URL='mysql://USERNAME:[email protected]/findasetter?ssl={"rejectUnauthorized":true}'
Now when I run any drizzle command i.e. studio or push, there is an error:
Error: VT05003: unknown database 'findasetter' in vschema
Any ideas on how to fix this?1 Reply
Has this anything to do with the last release where "❗ MySQL schemas/database are no longer supported by drizzle-kit" ?