Dumped on 2002-10-12.
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| id | serial | NOT NULL PRIMARY KEY | |
| public -> street | street | integer | |
| number | character(10) | ||
| addendum | text |
Tables referencing this one via Foreign Key Constraints:
| F-Key | Name | Type | Description |
|---|---|---|---|
| public -> address | id | integer | NOT NULL PRIMARY KEY |
| refcounter | integer | default 0 |
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| public -> address | address_id | integer | |
| location | point | ||
| public -> coordinate | id_coord | integer | |
| mapref | character(30) | ||
| public -> mapbook | id_map | integer | |
| howto_get_there | text | ||
| comments | text |
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| id | serial | NOT NULL PRIMARY KEY | |
| name | character(10) | NOT NULL |
Tables referencing this one via Foreign Key Constraints:
not for direct use - must be inherited by all auditable tables
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL PRIMARY KEY |
not for direct use - must be inherited by all auditable tables
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL PRIMARY KEY |
| F-Key | Name | Type | Description |
|---|---|---|---|
| id | serial | NOT NULL UNIQUE | |
| name | character varying(30) | ||
| scale | double precision |
Tables referencing this one via Foreign Key Constraints:
a countries name and international code
| F-Key | Name | Type | Description |
|---|---|---|---|
| code | character(2) | NOT NULL PRIMARY KEY international two character country code as per ISO 3166-1 | |
| name | character varying(80) | ||
| deprecated | date | date when this state ceased officially to exist (if applicable) |
Tables referencing this one via Foreign Key Constraints:
a many-to-many pivot table linking addresses to identities
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| id | serial | NOT NULL PRIMARY KEY | |
| public -> identity | id_identity | integer | identity to whom the address belongs |
| public -> address | id_address | integer | address belonging to this identity |
| public -> address_type | id_type | integer | default 1 type of this address (like home, work, parents, holidays ...) |
| address_source | character varying(30) |
represents the unique identity of a person
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| id | serial | NOT NULL PRIMARY KEY | |
| pupic | character(24) | Portable Unique Person Identification Code as per gnumed white papers | |
| gender | character(2) | default '?' (m)ale, (f)emale, (h)ermaphrodite, (tm)transsexual phaenotype male, (tf)transsexual phaenotype female, (?)unknown | |
| karyotype | character(10) | ||
| dob | character(10) | date of birth in format yyyymmdd | |
| cob | character(2) | country of birth as per date of birth, coded as 2 character ISO code | |
| deceased | date | date when a person has died (if so), format yyyymmdd |
| Name | Constraint |
|---|---|
| identity_gender | CHECK (((((gender = 'm'::bpchar) OR (gender = 'f'::bpchar)) OR (gender = 'h'::bpchar)) OR (gender = 'tm'::bpchar)) OR (gender = 'tf'::bpchar)) OR (gender = '?'::bpchar) |
Tables referencing this one via Foreign Key Constraints:
| User | |||||||
|---|---|---|---|---|---|---|---|
| PUBLIC | |||||||
| hherb | ♦ |
| F-Key | Name | Type | Description |
|---|---|---|---|
| id | serial | NOT NULL UNIQUE | |
| name | character(30) |
Tables referencing this one via Foreign Key Constraints:
all the names an identity is known under
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| id | serial | NOT NULL PRIMARY KEY | |
| public -> identity | id_identity | integer | |
| active | boolean | default 't' true if the name is still in use | |
| lastnames | character varying(80) | all last names of an identity in legal order | |
| firstnames | character varying(255) | all first names of an identity in legal order | |
| preferred | character varying(80) | the preferred first name, the name a person is usually called (nickname) | |
| title | character varying(80) |
| User | |||||||
|---|---|---|---|---|---|---|---|
| PUBLIC | |||||||
| hherb | ♦ |
biological and social relationships between an identity and other identities
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| id | serial | NOT NULL PRIMARY KEY | |
| public -> identity | id_identity | integer | primary identity to whom the relationship applies |
| public -> identity | id_relative | integer | referred identity of this relationship (e.g. "child" if id_identity points to the father and id_relation_type points to "parent") |
| public -> relation_types | id_relation_type | integer | |
| started | date | date when this relationship begun | |
| ended | date | date when this relationship ended. Biological relationships do not end! |
types of biological and social relationships between an identities
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| id | serial | NOT NULL PRIMARY KEY | |
| biological | boolean | true id the relationship is biological (proven or reasonable assumption), else false | |
| biol_verified | boolean | default 'f'::bool ONLY set to true if there is genetic proof for this relationship | |
| description | character varying(40) | plain text description of relationship |
Tables referencing this one via Foreign Key Constraints:
state codes (country specific)
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| id | serial | NOT NULL PRIMARY KEY | |
| code | character(10) | state code | |
| public -> country | country | character(2) | 2 character ISO 3166-1 country code |
| name | character varying(60) | ||
| deprecated | date |
| Name | Constraint |
|---|---|
| nodupes | UNIQUE (code, country) |
Tables referencing this one via Foreign Key Constraints:
street names, specific for distinct "urbs"
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| id | serial | NOT NULL PRIMARY KEY | |
| public -> urb | id_urb | integer | NOT NULL reference to information postcode, city, country and state |
| name | character varying(60) | name of this street | |
| postcode | character(10) | postcode for systems (such as UK Royal Mail) which specify the street. |
Tables referencing this one via Foreign Key Constraints:
cities, towns, dwellings ...
| F-Key | Name | Type | Description |
|---|---|---|---|
| audit_id | serial | NOT NULL | |
| id | serial | NOT NULL PRIMARY KEY | |
| public -> state | statecode | integer | reference to information about country and state |
| postcode | character(8) | the postcode (if applicable | |
| name | character varying(60) | the name of the city/town/dwelling |
Tables referencing this one via Foreign Key Constraints:
NO COMMENT
NO COMMENT
NO COMMENT
NO COMMENT
NO COMMENT
NO COMMENT
NO COMMENT