LP#1907296: stamp DB update
authorGalen Charlton <gmc@equinoxOLI.org>
Wed, 7 Jul 2021 14:42:54 +0000 (10:42 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 7 Jul 2021 14:42:54 +0000 (10:42 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1266.ws_setting_eg_grid_catalog_record_copies.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.ws_setting_eg_grid_catalog_record_copies [deleted file]

index 682ed9a..fd1646c 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 ('1265', :eg_version); -- phasefx/mmorgan/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1266', :eg_version); -- mmorgan/jpringle/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1266.ws_setting_eg_grid_catalog_record_copies.sql b/Open-ILS/src/sql/Pg/upgrade/1266.ws_setting_eg_grid_catalog_record_copies.sql
new file mode 100644 (file)
index 0000000..2575c5a
--- /dev/null
@@ -0,0 +1,14 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1266', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.grid.catalog.record.copies', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.grid.catalog.record.copies',
+        'Grid Config: eg.grid.catalog.record.copies',
+        'cwst', 'label')
+    );
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ws_setting_eg_grid_catalog_record_copies b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ws_setting_eg_grid_catalog_record_copies
deleted file mode 100644 (file)
index 58e3a37..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
-VALUES (
-    'eg.grid.catalog.record.copies', 'gui', 'object',
-    oils_i18n_gettext(
-        'eg.grid.catalog.record.copies',
-        'Grid Config: eg.grid.catalog.record.copies',
-        'cwst', 'label')
-    );
-
-COMMIT;