LP#1823255: stamp database update
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 6 Sep 2019 22:03:14 +0000 (18:03 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 6 Sep 2019 22:03:14 +0000 (18:03 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1183.data.ident_value_required.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.ident_value_required.sql [deleted file]

index 7971035..e7b9992 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 ('1182', :eg_version); -- liam/jeffdavis/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1183', :eg_version); -- mbucholtz/jeffdavis/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1183.data.ident_value_required.sql b/Open-ILS/src/sql/Pg/upgrade/1183.data.ident_value_required.sql
new file mode 100644 (file)
index 0000000..05ac67a
--- /dev/null
@@ -0,0 +1,17 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1183', :eg_version);
+
+INSERT into config.org_unit_setting_type
+( name, grp, label, description, datatype, fm_class ) VALUES
+( 'ui.patron.edit.au.ident_value.require', 'gui',
+    oils_i18n_gettext('ui.patron.edit.au.ident_value.require',
+        'require ident_value field on patron registration',
+        'coust', 'label'),
+    oils_i18n_gettext('ui.patron.edit.au.ident_value.require',
+        'The ident_value field will be required on the patron registration screen.',
+        'coust', 'description'),
+    'bool', null);
+
+COMMIT;
+
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ident_value_required.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ident_value_required.sql
deleted file mode 100644 (file)
index 89e3d12..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
-( 'ui.patron.edit.au.ident_value.require', 'gui',
-    oils_i18n_gettext('ui.patron.edit.au.ident_value.require',
-        'require ident_value field on patron registration',
-        'coust', 'label'),
-    oils_i18n_gettext('ui.patron.edit.au.ident_value.require',
-        'The ident_value field will be required on the patron registration screen.',
-        'coust', 'description'),
-    'bool', null);
-
-COMMIT;
-