To repair a corrupted database use the coDiagnostiX maintenance tool.
First click the “Management…” button on the main frame:
Then click “Maintain and repair” to start the maintenance tool:
Finally confirm to perform maintenance.