Postgres Schema (namespace) + Drizzle
How do I specify a Postgres schema (as in the psql namespace feature) for
drizzle.config.ts
? A connection string with database?schema=blah
hasn't worked for me.4 Replies
use pgSchema to define a schema variable, then use schema.table instead of pgTable
How would I set the config for drizzle-kit?
there should be a schemaFilter if you want to exclude stuff, otherwise defining in a schema file should be enough
https://orm.drizzle.team/docs/schemas
Things are mostly working out, thanks!