Replace sequential migration execution (4m8s for 172 migrations) with structure.sql loading (416ms), reducing CI database setup time by 99.7%. Changes: - Configure Ecto to dump/load schema from priv/repo/structure.sql - Update test alias: ecto.migrate → ecto.load - Remove redundant database setup step from CI workflow - Commit structure.sql to repository for version control Benefits: - CI database setup: 4m8s → 416ms (248s → 0.4s) - Consistent schema snapshots across environments - Faster local test runs Maintenance: - Run 'mix ecto.dump' after adding new migrations - Structure file auto-updates with schema changes |
||
|---|---|---|
| .. | ||
| build.yaml | ||
| renovate.yaml | ||