LP1894131 DB Stamp: Sticky Holdings Org
authorBill Erickson <berickxx@gmail.com>
Thu, 28 Jan 2021 19:10:29 +0000 (14:10 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 28 Jan 2021 19:20:58 +0000 (14:20 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1243.data.holdings-org-select.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.holdings-org-select.sql [deleted file]

index a78a2a0..b949ff0 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 ('1242', :eg_version); -- remingtron/terranm
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1243', :eg_version); -- berick/ehardy
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1243.data.holdings-org-select.sql b/Open-ILS/src/sql/Pg/upgrade/1243.data.holdings-org-select.sql
new file mode 100644 (file)
index 0000000..e139f06
--- /dev/null
@@ -0,0 +1,17 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1243', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, fm_class, label)
+VALUES (
+    'eg.orgselect.catalog.holdings', 'gui', 'link', 'aou',
+    oils_i18n_gettext(
+        'eg.orgselect.catalog.holdings',
+        'Default org unit for catalog holdings tab',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
+
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.holdings-org-select.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.holdings-org-select.sql
deleted file mode 100644 (file)
index cd61302..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO config.workstation_setting_type (name, grp, datatype, fm_class, label)
-VALUES (
-    'eg.orgselect.catalog.holdings', 'gui', 'link', 'aou',
-    oils_i18n_gettext(
-        'eg.orgselect.catalog.holdings',
-        'Default org unit for catalog holdings tab',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;
-
-