Using startedAt field of the Scan object as unique index