Kason
DTDrizzle Team
•Created by Kason on 2/1/2024 in #help
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?
4 replies