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