This repository contains the SQL code, data model, and supporting materials for a personal Family Genealogy Database implemented with PostgreSQL.
- The purpose of this SQL code is to create a relational database used to record, maintain, query, and report on personal family genealogical data.
- The SQL code contained within this repository is compatible with PostgreSQL version 9.6 and has not been tested with any other SQL database engines.
- Please Note: This genealogy database has not been tested for compatibility with the latest Genealogical Data Communication (GEDCOM) Standard.
The current version of the data model (2017-09-26) contains the following tables listed below:
- individual
- parent
- parent_type
- family
- relationship
- occupation
- education
- health_condition
- relationship_type
- role_type
- occupation_type
- health_condition_type
- education_type
- individual_memory
- family_event
- individual_memory_object
- family_event_object
- object_type
Additional documentation will be added soon.
See the embedded PNG below for a visual representation of these tables and associated fields, field types, and logical relationships comprising the current data model:
Special thanks to Barry Williams, whose suggested data model on databaseanswers.com was my starting point while building this model.