VercelPostgresError - 'missing_connection_string': You did not supply a 'connectionString'
Hello everyone!
So I'm getting the following error while trying to use the
Here is my db
As well as my
Few notes:
So I'm getting the following error while trying to use the
@vercel/postgres package with drizzle ORMHere is my db
index.ts As well as my
drizzle.config.tsFew notes:
- The URL is provided in connectionString. I'm sure it's defined. I have even hardcoded it. I'm 99% sure that the case is that Vercel postgres doesn't really read it and is trying to look for
POSTGRES_URLin the env (which is not present because I want to use prefixes for each DB depending on the environment). - As you can probably already guess I'm trying to make it so depending on the environment I'm using a different DB. You got any advice on that?