LP#1482757: More careful Located URI remapping
authorMike Rylander <mrylander@gmail.com>
Fri, 5 Aug 2016 12:56:05 +0000 (08:56 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Fri, 25 Feb 2022 21:20:52 +0000 (16:20 -0500)
commit4dfa5ff6681358958fa609d2729ab099dab96e68
tree5da3ffee8cf13399fb35b06468559818bb2b935e
parent594687ef2c4562ea3e79c17376c1785cf9a84262
LP#1482757: More careful Located URI remapping

Instead of recreating all Located URI mappings, we will add any new
ones and remember all those (existing and new) that are in use. Any
existing maps that we don't see in this record, and whose URI is only
used once previously and therefore about to be orphaned, we remove.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.biblio.extract_located_uris.sql [new file with mode: 0644]