Fixed corrupted sqlite database and recreated a new one