Refactor #936

Updated by Alexander Watzinger 7 months ago

Dates will be completely rewritten. Mostly but not At the moment if an entity is update all links are deleted and linked again from form values. For performance and data integrity reasons only for performance reasons, among other things code will changed links should be easier readable, import/export will be much easier processed.

We begin with the refactoring of dates
and so on. also simply the mechanism when we are at it.

Dates will be saved in entity table instead of being own entities. There will be only * remove "exact date" system type and just use "date from and value" without "date to value"
* refactor how entities getting
dates (no "exact date" anymore, it is exact automatically (all at creation, remove get_dates function)
* refactor updating entities (dont delete/save
if there is only a from date). not changed)

Since the Also

* add
date check functions have checks to be rewritten too an additional check if actors participated at an event before their birth or after death will be added when we are at it. links (e.g. involvement)