Error: read supabase/migrations/meta: is a directory

Was following a tutorial on using supabase and drizzle locally, and kept running into this problem. I didn't want to move the meta directory for the sake of the tutorial.

here is the tutorial I followed:
https://orm.drizzle.team/kit-docs/quick
https://www.youtube.com/watch?v=_OqMRtg4Gy8&t=469s
https://github.com/thorwebdev/edgy-drizzle

The command I ran:
supabase start

supabase start        
Applying migration 0000_burly_raza.sql...
Applying migration meta...
Error: read supabase/migrations/meta: is a directory
After statement 0: 
Try rerunning the command with --debug to troubleshoot the error.


not sure why im getting this. In the video, it seemed like it worked even with the meta folder in the migrations directory. tried again in a new repo and followed this tutorial, yet still didn't work. I suspect we do need the meta directory...
Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.
YouTubeSupabase
Drizzle is a lightweight TypeScript ORM[0] that works on the Edge! In this video we explore how to use Drizzle Kit[1] in combination with the Supabase CLI to manage migrations, as well as run queries in Supabase and Vercel Edge Functions with Drizzle's SQL-like query builder.

GitHub
Drizzle Kit in combination with the Supabase CLI to manage migrations, and run queries in Supabase Edge Functions with Drizzle's SQL-like query builder. - GitHub - thorwebdev/edgy-drizzle: ...
Was this page helpful?