From: Bill Erickson Date: Wed, 13 Mar 2013 17:33:05 +0000 (-0400) Subject: LP 1134829 - stamping upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ba4d0aeadbaab20763d665e2c8c1ad0c76be5256;p=evergreen%2Fpines.git LP 1134829 - stamping upgrade script Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 5335cc8405..38416d9d97 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -91,7 +91,7 @@ CREATE TRIGGER no_overlapping_deps BEFORE INSERT OR UPDATE ON config.db_patch_dependencies FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates'); -INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0772', :eg_version); -- senator/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0773', :eg_version); -- Callender/berick CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0773.data.authority_thesaurus_update.sql b/Open-ILS/src/sql/Pg/upgrade/0773.data.authority_thesaurus_update.sql new file mode 100644 index 0000000000..e3e3f62a52 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0773.data.authority_thesaurus_update.sql @@ -0,0 +1,12 @@ +-- Evergreen DB patch xxxx.data.authority_thesaurus_update.sql +-- +BEGIN; + +-- check whether patch can be applied +SELECT evergreen.upgrade_deps_block_check('0773', :eg_version); + + +INSERT INTO authority.thesaurus (code, name, control_set) VALUES + (' ', oils_i18n_gettext(' ','Alternate no attempt to code','at','name'), NULL); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.authority_thesaurus_update.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.authority_thesaurus_update.sql deleted file mode 100644 index e5486e7766..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.authority_thesaurus_update.sql +++ /dev/null @@ -1,12 +0,0 @@ --- Evergreen DB patch xxxx.data.authority_thesaurus_update.sql --- -BEGIN; - --- check whether patch can be applied -SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version); - - -INSERT INTO authority.thesaurus (code, name, control_set) VALUES - (' ', oils_i18n_gettext(' ','Alternate no attempt to code','at','name'), NULL); - -COMMIT;