refactor imported_ids and failed_rows to a DB table