Order of migration files
Drizzle-kit generates migration files which stay in order based on its naming pattern
<xxxx_name.sql>
Supabase, e.g. when using supabase db pull
(to ensure production/local development setup is in sync) creates migration files naming them like <timestamp>_name.sql
This leaves us with a local list like:
This can cause problems when migrating because the order isn't correct. Is there a common approach to that, or how to make drizzle and supabase work in harmony?0 Replies