Learn how to repair local health records in case of crashes or file corruption.
Note: If database repair fails, reinstall the application and import your last JSON backup.
Steps to follow:
- Go to Settings in OmniaVet and select **Diagnostics**.
- Scroll down to the **Database Integrity** section.
- Tap **Repair SwiftData** to initiate a local check and database recovery.
- The app executes a schema check, rebuilds corrupted indexes, and restarts database services.
Tip: Schedule regular JSON backups (HT10002) to prevent data loss in system lockups.