replaces the field bibliographical_info on the Source model with the fields edition_author, edition_title, medieval_author, medieval_title, written_date and contents_date to the Source model;
replaces source_location on the EntityDescription abstract model with the fields chapter, book, page.
removes source_location on the DescriptionField abstract model.
The fields contents_date and written_date on the Source model simply inherit LettercraftDate.
Existing data in Source.bibliographical_info is migrated to Source.edition_title.
Existing data in [model inheriting EntityDescription].source_location is migrated to page (not a perfect match, but best effort).
Existing data in [model inheriting DescriptionField].source_location is unfortunately lost, but the roughly the same information should be kept on the 'parent' model.
Closes #34
As described in the issue, this PR:
bibliographical_info
on the Source model with the fieldsedition_author
,edition_title
,medieval_author
,medieval_title
,written_date
andcontents_date
to theSource
model;source_location
on theEntityDescription
abstract model with the fieldschapter
,book
,page
.source_location
on theDescriptionField
abstract model.The fields
contents_date
andwritten_date
on theSource
model simply inheritLettercraftDate
.Existing data in
Source.bibliographical_info
is migrated toSource.edition_title
. Existing data in[model inheriting EntityDescription].source_location
is migrated topage
(not a perfect match, but best effort). Existing data in[model inheriting DescriptionField].source_location
is unfortunately lost, but the roughly the same information should be kept on the 'parent' model.