Difference between revisions of "Gramps Data Model"

From Gramps
Jump to: navigation, search
m (See also: xref DevReference category)
m (validate 4.1 model for 5.1 version)
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)
+
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, the v5.2 is expected to change from strings in `PlaceName` objects 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
 
Primary objects are coloured blue.  Secondary objects are coloured black.  The dotted lines enclose object hierarchies that are stored in

Revision as of 18:11, 4 November 2020

Gramps-notes.png
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, the v5.2 is expected to change from strings in `PlaceName` objects 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 database tables.


GrampsDataModel.svg

See also