what do we need to pass in --ssl to enforce SSL?
I have a Supabase database where SSL has been enforce. But Drizzle fails to connect to DB giving local SSL certificate error. It works fine once I disable enforcement on Supabase side. I see there is a --ssl parameter in command line, but it does not do anything/I am missing something. Can anybody please help here?
2 Replies
Also, if anyone knows how can I auto update updatedAt column in Postgres with schema definition
I believe it’s the same parameter options as Postgres.js. This link takes you to the connection options section and lists what’s available for ssl.
https://github.com/porsager/postgres#connection-details
GitHub
GitHub - porsager/postgres: Postgres.js - The Fastest full featured...
Postgres.js - The Fastest full featured PostgreSQL client for Node.js and Deno - GitHub - porsager/postgres: Postgres.js - The Fastest full featured PostgreSQL client for Node.js and Deno