From: Rogan Hamby Date: Wed, 22 May 2019 15:11:19 +0000 (-0400) Subject: Merge branch 'master' of git.esilibrary.com:migration-tools X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=96f1c7dc8276e6ea0a31549041eb056182003cbd;hp=17258500f21efa15409849970bfc617dfb673b47 Merge branch 'master' of git.esilibrary.com:migration-tools --- diff --git a/sql/base/base.sql b/sql/base/base.sql index d5bcdc8..46d221a 100644 --- a/sql/base/base.sql +++ b/sql/base/base.sql @@ -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