From: Bill Erickson Date: Wed, 6 Mar 2013 18:54:35 +0000 (-0500) Subject: Upgrade script for LP#1105225: LOC z39.50 seed data X-Git-Tag: sprint4-merge-nov22~3357 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4b78507904e4802964a14a685d12bb4697db7657;p=working%2FEvergreen.git Upgrade script for LP#1105225: LOC z39.50 seed data Signed-off-by: Bill Erickson Signed-off-by: Ben Shum --- diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.loc_z39_settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.loc_z39_settings.sql new file mode 100644 index 0000000000..20a39b7086 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.loc_z39_settings.sql @@ -0,0 +1,18 @@ + +BEGIN; + +UPDATE config.z3950_source + SET host = 'lx2.loc.gov', port = 210, db = 'LCDB' + WHERE name = 'loc' + AND host = 'z3950.loc.gov' + AND port = 7090 + AND db = 'Voyager'; + +UPDATE config.z3950_attr + SET format = 6 + WHERE source = 'loc' + AND name = 'lccn' + AND format = 1; + +COMMIT; +