LP#1806709: stamp schema update
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 18 Feb 2019 18:37:00 +0000 (13:37 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 18 Feb 2019 18:38:08 +0000 (13:38 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1149.data.circ-billing-history-grid-persist-key.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.circ-billing-history-grid-persist-key.sql [deleted file]

index 0eefd04..fc8ff66 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 ('1142', :eg_version); -- csharp/bshum
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1149', :eg_version); -- Dyrcona/mmorgan/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1149.data.circ-billing-history-grid-persist-key.sql b/Open-ILS/src/sql/Pg/upgrade/1149.data.circ-billing-history-grid-persist-key.sql
new file mode 100644 (file)
index 0000000..ac4d65f
--- /dev/null
@@ -0,0 +1,15 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1149', :eg_version); -- Dyrcona/mmorgan/gmcharlt
+
+INSERT INTO config.workstation_setting_type (name, grp, datatype, label)
+VALUES (
+  'eg.grid.circ.patron.billhistory_xacts', 'gui', 'object',
+  oils_i18n_gettext(
+    'eg.grid.circ.patron.billhistory_xacts',
+    'Grid Config: circ.patron.billhistory_xacts',
+    'cwst', 'label'
+  )
+);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.circ-billing-history-grid-persist-key.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.circ-billing-history-grid-persist-key.sql
deleted file mode 100644 (file)
index 0978c9f..0000000
+++ /dev/null
@@ -1,15 +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.circ.patron.billhistory_xacts', 'gui', 'object',
-  oils_i18n_gettext(
-    'eg.grid.circ.patron.billhistory_xacts',
-    'Grid Config: circ.patron.billhistory_xacts',
-    'cwst', 'label'
-  )
-);
-
-COMMIT;