From the source
Supabase shipped Declarative Schemas 2.0, replacing the migra diff engine with pg-delta, a Postgres diff tool it wrote and open sourced.
- The previous engine missed domains, publications, grants, and extension-owned objects, forcing developers to patch migrations by hand. pg-delta reads the system catalog and uses a dependency graph to order output, now covering RLS policies, partitions, foreign tables, and objects managed by extensions.
- The new engine ships under an experimental config section; new projects get it by default, existing projects opt in, and the next major CLI version will make it the default for all.






