projects
/
migration-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
456196b
)
removing looking for usrname collections only on non-deleted records since constraint...
author
Rogan Hamby
<rhamby@esilibrary.com>
Mon, 20 May 2019 18:44:45 +0000 (14:44 -0400)
committer
Rogan Hamby
<rhamby@esilibrary.com>
Mon, 20 May 2019 18:44:45 +0000 (14:44 -0400)
sql/base/base.sql
patch
|
blob
|
history
diff --git
a/sql/base/base.sql
b/sql/base/base.sql
index
f9fe57e
..
2607c95
100644
(file)
--- a/
sql/base/base.sql
+++ b/
sql/base/base.sql
@@
-5291,7
+5291,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