Migrations were applied in plain name order, so 0002_admin_schema.sql ran before 20260910113720_first and failed with relation "City" does not exist. sortMigrations now always puts the baseline first; existing databases are unaffected because their applied names are unchanged. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>