Push with schema in separate files
I have my schemas setup something like customer.ts vendor.ts inventory.ts public.ts
In my config I have schema: "./app/lib/data/db/schema/*"
In public.ts I am creating tables with pgTable but in the non public ts files I am creating a schema with export const customer = pgSchema("customer") and then creating tables with export const customerTable = customer.table("customer", {fieilds here})
When I run drizzle-kit push:pg all that is created is anything in the public file and pgTable
What am I missing?
In my config I have schema: "./app/lib/data/db/schema/*"
In public.ts I am creating tables with pgTable but in the non public ts files I am creating a schema with export const customer = pgSchema("customer") and then creating tables with export const customerTable = customer.table("customer", {fieilds here})
When I run drizzle-kit push:pg all that is created is anything in the public file and pgTable
What am I missing?