Merge branch 'master' of git.esilibrary.com:migration-tools
authorRogan Hamby <rhamby@esilibrary.com>
Wed, 22 May 2019 12:54:18 +0000 (08:54 -0400)
committerRogan Hamby <rhamby@esilibrary.com>
Wed, 22 May 2019 12:54:18 +0000 (08:54 -0400)
sql/base/base.sql

index d5bcdc8..46d221a 100644 (file)
@@ -5445,7 +5445,7 @@ BEGIN
     RAISE INFO '% incumbent barcode collisions', incumbent_barcode_collision_count;
 
     FOR x_barcode IN
-        SELECT a.usrname FROM actor.usr a, actor_usr_legacy b WHERE x_migrate AND a.deleted IS FALSE AND a.usrname = b.usrname
+        SELECT a.usrname FROM actor.usr a, actor_usr_legacy b WHERE x_migrate AND a.usrname = b.usrname
     LOOP
         FOR x_id IN SELECT DISTINCT id FROM actor_usr_legacy WHERE x_migrate AND usrname = x_barcode
         LOOP