Difference between revisions of "Gramps Data Model"
From Gramps
m (validate 4.1 model for 5.1 version) |
m (Point at the GEPS that will trigger an update to this chart.) |
||
| Line 6: | Line 6: | ||
* https://docs.python.org/3/library/pickle.html | * https://docs.python.org/3/library/pickle.html | ||
| − | Below is a diagram of the Gramps data model (v4.1). As of October 2020, this model is reported to be valid for the v5.1 of Gramps. However, | + | Below is a diagram of the Gramps data model (v4.1). As of October 2020, this model is reported to be valid for the v5.1 of Gramps. However, there is a minor `PlaceName` objects change to contain a string, language code and date range. |
| − | Primary objects are coloured blue. Secondary objects are coloured black. The dotted lines enclose object hierarchies that are stored in | + | The [[GEPS_045:_Place_Model_Enhancements|Places Model Enhancements]] planned for v5.2 are expected to have deeper changes. One target for that Gramps Proposal includes [[GEPS_045:_Place_Model_Enhancements#Documentation|this documentation]]. |
| − | the database tables. | + | |
| + | Primary objects are coloured blue. Secondary objects are coloured black. The dotted lines enclose object hierarchies that are stored in the database tables. | ||
Revision as of 22:53, 11 November 2020
Gramps data model (v4.1) |
Gramps uses the pickle module to serialise object hierarchies and store them in the database.
Details of the pickle module can be found here:
Below is a diagram of the Gramps data model (v4.1). As of October 2020, this model is reported to be valid for the v5.1 of Gramps. However, there is a minor `PlaceName` objects change to contain a string, language code and date range.
The Places Model Enhancements planned for v5.2 are expected to have deeper changes. One target for that Gramps Proposal includes this documentation.
Primary objects are coloured blue. Secondary objects are coloured black. The dotted lines enclose object hierarchies that are stored in the database tables.
See also
- Prgrammer's Introduction to the Gramps database API
- Gramps data model - discussion
- GEPS_013: Gramps Django Webapp:Model overview
- 10851 : Gramps Data Model - Polish Version - Gramps 5.0.0