Can't create Supabase Schemas using Drizzle?

Hello, I've got my Drizzle connected to my Supabase, and the drizzle-kit push works for my schema.ts file. The next step I'm looking for is to be able to A) create a new Schema in Supabase (PostGres) B) run my schema.ts to create the tables within the above schema. I tried working with https://orm.drizzle.team/docs/schemas but its not working- instead it simply wipes my tables. I even tried just using the example provided and still nothing. It wipes my public schema tables, and doesn't create a new schema. Any thoughts?
Drizzle ORM - next gen TypeScript ORM
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
3 Replies
Angelelz
Angelelz11mo ago
I think drizzle-kit has some issues regarding schemas
Kason
KasonOP11mo ago
Hm, is there any workarounds that people have found?
Hocus
Hocus11mo ago
any news on this? I tried to create a private schema, but nothing happens, no tables created. No error msg.
Want results from more Discord servers?
Add your server