LP#1802682: stamp DB update
authorGalen Charlton <gmc@equinoxOLI.org>
Thu, 12 Aug 2021 22:01:07 +0000 (18:01 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 12 Aug 2021 22:01:07 +0000 (18:01 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1279.data.cnal_ous_type.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.cnal_ous_type.sql [deleted file]

index 2b96988..13ad46b 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 ('1278', :eg_version); -- JBoyer/terranm/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1279', :eg_version); -- JBoyer/terranm/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1279.data.cnal_ous_type.sql b/Open-ILS/src/sql/Pg/upgrade/1279.data.cnal_ous_type.sql
new file mode 100644 (file)
index 0000000..a7d85bf
--- /dev/null
@@ -0,0 +1,8 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1279', :eg_version);
+
+UPDATE config.org_unit_setting_type SET fm_class='cnal', datatype='link' WHERE name='ui.patron.default_inet_access_level';
+
+COMMIT;
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.cnal_ous_type.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.cnal_ous_type.sql
deleted file mode 100644 (file)
index ba3a5a7..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-UPDATE config.org_unit_setting_type SET fm_class='cnal', datatype='link' WHERE name='ui.patron.default_inet_access_level';
-
-COMMIT;
-