DatabaseHelper repair