Stamping upgrade script for sticky org-select
authorJane Sandberg <sandbej@linnbenton.edu>
Sun, 23 Aug 2020 19:50:38 +0000 (12:50 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Sun, 23 Aug 2020 19:50:38 +0000 (12:50 -0700)
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1215.data.holds-for-bib-org-select.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.holds-for-bib-org-select.sql [deleted file]

index b1dacdd..9436263 100644 (file)
@@ -92,7 +92,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 ('1214', :eg_version); -- rhamby/willis/sandbergja
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1215', :eg_version); -- berick/tmcanna/sandbergja
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1215.data.holds-for-bib-org-select.sql b/Open-ILS/src/sql/Pg/upgrade/1215.data.holds-for-bib-org-select.sql
new file mode 100644 (file)
index 0000000..651a127
--- /dev/null
@@ -0,0 +1,17 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1215', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.orgselect.cat.catalog.wide_holds', 'gui', 'integer',
+    oils_i18n_gettext(
+        'eg.orgselect.cat.catalog.wide_holds',
+        'Default org unit for catalog holds org unit selector',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
+
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.holds-for-bib-org-select.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.holds-for-bib-org-select.sql
deleted file mode 100644 (file)
index ba516b5..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version);
-
-INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
-VALUES (
-    'eg.orgselect.cat.catalog.wide_holds', 'gui', 'integer',
-    oils_i18n_gettext(
-        'eg.orgselect.cat.catalog.wide_holds',
-        'Default org unit for catalog holds org unit selector',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;
-
-