Relied on the ORM layer for table mapping, foreign keys, indexes, session handling, and dialect-aware ID sequence handling during backup import.
- What worked
- Queries replaced full-collection scans, and table clearing plus ID restart behaved consistently across repeated test runs.