install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0040'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0041'); -- miker
CREATE TABLE config.bib_source (
'Normalize date range',
'Split date ranges in the form of "XXXX-YYYY" into "XXXX YYYY" for proper index.',
'split_date_range',
- 1
+ 0
);
INSERT INTO config.index_normalizer (name, description, func, param_count) VALUES (
--- /dev/null
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0041'); -- miker
+
+UPDATE config.index_normalizer SET param_count = 0 WHERE func = 'split_date_range';
+
+COMMIT;
+