LP#1795972: stamp DB update
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 Jul 2019 14:21:17 +0000 (10:21 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 30 Jul 2019 14:21:17 +0000 (10:21 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1168.data.apply_ws_setting_perm_description.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.apply_ws_setting_perm_description.sql [deleted file]

index 85d06ad..efac488 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');
 
     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 ('1167', :eg_version); -- JBoyer/terran/sandbergja
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1168', :eg_version); -- csharp/khuckins/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1168.data.apply_ws_setting_perm_description.sql b/Open-ILS/src/sql/Pg/upgrade/1168.data.apply_ws_setting_perm_description.sql
new file mode 100644 (file)
index 0000000..de6a1d4
--- /dev/null
@@ -0,0 +1,12 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1168', :eg_version); -- csharp/khuckins/gmcharlt
+
+UPDATE permission.perm_list 
+    SET description = oils_i18n_gettext(
+        '608',
+        'Allows a user to apply values to workstation settings',
+        'ppl', 'description')
+    WHERE code = 'APPLY_WORKSTATION_SETTING' and description = 'APPLY_WORKSTATION_SETTING';
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.apply_ws_setting_perm_description.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.apply_ws_setting_perm_description.sql
deleted file mode 100644 (file)
index 401c45f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-UPDATE permission.perm_list 
-    SET description = oils_i18n_gettext(
-        '608',
-        'Allows a user to apply values to workstation settings',
-        'ppl', 'description')
-    WHERE code = 'APPLY_WORKSTATION_SETTING' and description = 'APPLY_WORKSTATION_SETTING';
-
-COMMIT;