Stamp upgrade script for LP 1849152
authorJason Boyer <jboyer@equinoxinitiative.org>
Wed, 23 Oct 2019 16:01:15 +0000 (12:01 -0400)
committerJason Boyer <jboyer@equinoxinitiative.org>
Wed, 23 Oct 2019 16:03:58 +0000 (12:03 -0400)
Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1196.data.opac_custom_css.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.data.opac_custom_css.sql [deleted file]

index 68ceac6..5cb05b6 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 ('1195', :eg_version); -- dbwells/khuckins/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1196', :eg_version); -- rhamby/gcollum/jboyer
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1196.data.opac_custom_css.sql b/Open-ILS/src/sql/Pg/upgrade/1196.data.opac_custom_css.sql
new file mode 100644 (file)
index 0000000..da51d9b
--- /dev/null
@@ -0,0 +1,16 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1196', :eg_version);
+
+INSERT into config.org_unit_setting_type
+( name, grp, label, description, datatype, fm_class ) VALUES
+( 'opac.patron.custom_css', 'opac',
+    oils_i18n_gettext('opac.patron.custom_css',
+        'Custom CSS for the OPAC',
+        'coust', 'label'),
+    oils_i18n_gettext('opac.patron.custom_css',
+        'Custom CSS for the OPAC',
+        'coust', 'description'),
+    'string', NULL);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.opac_custom_css.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.opac_custom_css.sql
deleted file mode 100644 (file)
index 9715d1d..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_css', 'opac',
-    oils_i18n_gettext('opac.patron.custom_css',
-        'Custom CSS for the OPAC',
-        'coust', 'label'),
-    oils_i18n_gettext('opac.patron.custom_css',
-        'Custom CSS for the OPAC',
-        'coust', 'description'),
-    'string', NULL);
-
-COMMIT;