LP#1904593: stamp DB update
authorGalen Charlton <gmc@equinoxOLI.org>
Mon, 20 Sep 2021 16:28:11 +0000 (12:28 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Mon, 20 Sep 2021 16:28:11 +0000 (12:28 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1287.data.my_account_url_yaous.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.data.my_account_url_yaous.sql [deleted file]

index 9ec45f5..e38f09f 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 ('1286', :eg_version); -- jeffdavis / terranm / gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1287', :eg_version); -- rhamby / jbruch / gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1287.data.my_account_url_yaous.sql b/Open-ILS/src/sql/Pg/upgrade/1287.data.my_account_url_yaous.sql
new file mode 100644 (file)
index 0000000..306b805
--- /dev/null
@@ -0,0 +1,17 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1287', :eg_version);
+
+ INSERT into config.org_unit_setting_type
+ ( name, grp, label, description, datatype, fm_class ) VALUES
+ ( 'lib.my_account_url', 'lib',
+     oils_i18n_gettext('lib.my_account_url',
+         'My Account URL (such as "https://example.com/eg/opac/login")',
+         'coust', 'label'),
+     oils_i18n_gettext('lib.my_account_url',
+         'URL for a My Account link. Use a complete URL, such as "https://example.com/eg/opac/login".',
+         'coust', 'description'),
+     'string', null)
+ ;
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.data.my_account_url_yaous.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.data.my_account_url_yaous.sql
deleted file mode 100644 (file)
index bfc6919..0000000
+++ /dev/null
@@ -1,17 +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
- ( 'lib.my_account_url', 'lib',
-     oils_i18n_gettext('lib.my_account_url',
-         'My Account URL (such as "https://example.com/eg/opac/login")',
-         'coust', 'label'),
-     oils_i18n_gettext('lib.my_account_url',
-         'URL for a My Account link. Use a complete URL, such as "https://example.com/eg/opac/login".',
-         'coust', 'description'),
-     'string', null)
- ;
-
-COMMIT;