LP#1837478: stamp DB update
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 31 Jul 2019 19:25:28 +0000 (15:25 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 31 Jul 2019 19:26:04 +0000 (15:26 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1169.data.search-templates.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.search-templates.sql [deleted file]

index efac488..b516ac6 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 ('1168', :eg_version); -- csharp/khuckins/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1169', :eg_version); -- berick/csharp/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1169.data.search-templates.sql b/Open-ILS/src/sql/Pg/upgrade/1169.data.search-templates.sql
new file mode 100644 (file)
index 0000000..ec43e99
--- /dev/null
@@ -0,0 +1,17 @@
+
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1169', :eg_version);
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+    'eg.catalog.search_templates', 'gui', 'object',
+    oils_i18n_gettext(
+        'eg.catalog.search_templates',
+        'Staff Catalog Search Templates',
+        'cwst', 'label'
+    )
+);
+
+COMMIT;
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.search-templates.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.search-templates.sql
deleted file mode 100644 (file)
index 9526bd6..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-
-BEGIN;
-
---SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version);
-
-INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
-VALUES (
-    'eg.catalog.search_templates', 'gui', 'object',
-    oils_i18n_gettext(
-        'eg.catalog.search_templates',
-        'Staff Catalog Search Templates',
-        'cwst', 'label'
-    )
-);
-
-COMMIT;
-