LP#1888723: stamp DB update
authorGalen Charlton <gmc@equinoxOLI.org>
Sun, 15 Aug 2021 23:58:38 +0000 (19:58 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Sun, 15 Aug 2021 23:58:38 +0000 (19:58 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1281.data.volcopy-settings.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.volcopy-settings.sql [deleted file]

index 84c6325..4e6cee2 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 ('1280', :eg_version); -- miker/Dyrcona/amundson/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1281', :eg_version); -- berick/rfrasur/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1281.data.volcopy-settings.sql b/Open-ILS/src/sql/Pg/upgrade/1281.data.volcopy-settings.sql
new file mode 100644 (file)
index 0000000..611926f
--- /dev/null
@@ -0,0 +1,15 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1281', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.cat.volcopy.defaults', 'cat', 'object',
+    oils_i18n_gettext(
+        'eg.cat.volcopy.defaults',
+        'Holdings Editor Default Values and Visibility',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.volcopy-settings.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.volcopy-settings.sql
deleted file mode 100644 (file)
index 741288a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-BEGIN;
-
---SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version);
-
-INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
-VALUES (
-    'eg.cat.volcopy.defaults', 'cat', 'object',
-    oils_i18n_gettext(
-        'eg.cat.volcopy.defaults',
-        'Holdings Editor Default Values and Visibility',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;