This software project is no longer being actively developed at the Library of Congress. Consider using the Open-ONI (https://github.com/open-oni) fork of the chronam software. Project mailing list: http://listserv.loc.gov/archives/chronam-users.html.
Adds default values for text fields to allow batch imports to work with mysql 8.
Without default values, loading batches with a MySQL 8 db throws the following error:
unable to load batch: (1364, "Field 'text' doesn't have a default value")
This PR adds default values of a blank string and allows the fields modified to be blank.
It also includes to Django generated migration file for this change.
Adds default values for text fields to allow batch imports to work with mysql 8.
Without default values, loading batches with a MySQL 8 db throws the following error:
unable to load batch: (1364, "Field 'text' doesn't have a default value")
This PR adds default values of a blank string and allows the fields modified to be blank. It also includes to Django generated migration file for this change.