From: Galen Charlton Date: Fri, 6 Sep 2019 22:03:14 +0000 (-0400) Subject: LP#1823255: stamp database update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8aa6a5dfd7eb3ac2bec6fb8f6ad241050081e7dd;p=evergreen%2Ftadl.git LP#1823255: stamp database update Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 797103561a..e7b9992dca 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -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 index 0000000000..05ac67aedb --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1183.data.ident_value_required.sql @@ -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 index 89e3d1217b..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.ident_value_required.sql +++ /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; -