drizzle-kit push ignores SQL schema
I'm trying to create a Postgres schema using the method mentioned in https://orm.drizzle.team/docs/schemas, but when I run
drizzle-kit push
, nothing is added to the database.
It works fine when I just use pgTable
to declare the tables, and drizzle-kit generate
creates the Postgres schemas as well.
My current src/schemas/auth.ts
file looks like this:
and my drizzle.config.ts looks like this:
1 Reply
nvm, i had to add
schemaFilter
to the config