Stamping upgrade script for JQuery YAOUS
authorMike Rylander <mrylander@gmail.com>
Fri, 25 Mar 2022 21:03:06 +0000 (17:03 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 25 Mar 2022 21:03:06 +0000 (17:03 -0400)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1322.data.jquery_opac_library_setting.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.data.jquery_opac_library_setting.sql [deleted file]

index 4778599..80c38ea 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 ('1321', :eg_version); -- Dyrcona/miker
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1322', :eg_version); -- rhamby/miker
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1322.data.jquery_opac_library_setting.sql b/Open-ILS/src/sql/Pg/upgrade/1322.data.jquery_opac_library_setting.sql
new file mode 100644 (file)
index 0000000..05c6565
--- /dev/null
@@ -0,0 +1,16 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1322', :eg_version);
+
+INSERT into config.org_unit_setting_type
+( name, grp, label, description, datatype, fm_class ) VALUES
+( 'opac.patron.custom_jquery', 'opac',
+    oils_i18n_gettext('opac.patron.custom_jquery',
+        'Custom jQuery for the OPAC',
+        'coust', 'label'),
+    oils_i18n_gettext('opac.patron.custom_jquery',
+        'Custom jQuery for the OPAC',
+        'coust', 'description'),
+    'string', NULL);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.jquery_opac_library_setting.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.jquery_opac_library_setting.sql
deleted file mode 100644 (file)
index 28fe478..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version);
-
-INSERT into config.org_unit_setting_type
-( name, grp, label, description, datatype, fm_class ) VALUES
-( 'opac.patron.custom_jquery', 'opac',
-    oils_i18n_gettext('opac.patron.custom_jquery',
-        'Custom jQuery for the OPAC',
-        'coust', 'label'),
-    oils_i18n_gettext('opac.patron.custom_jquery',
-        'Custom jQuery for the OPAC',
-        'coust', 'description'),
-    'string', NULL);
-
-COMMIT;