# Phase 7 — Safer table data exports - Requires a non-null unique index (prefers PRIMARY) for each table being exported with data. - Adds explicit ORDER BY to every 250-row data page, preventing arbitrary server ordering. - Checks row count before and after export, and compares it to rows written. On mismatch, aborts and deletes the temporary SQL file. - Keeps Phase 6 SHA-256 sidecar verification and all existing UI features. ## Limitations This is **not a consistent snapshot**. Concurrent updates can still change row contents without changing counts, and inserts/deletes can cancel each other out. OFFSET pagination is still used; a future phase must introduce a dedicated, isolated snapshot connection and keyset paging. Tables lacking a non-null unique index cannot be data-exported in this version. No Xcode or live server test was performed. Do not rely on these exports as sole production backups.