Skip to main content

Citizenship

Data Dictionary - Entity Table: Citizenship#

A Person's citizenship. Citizenship of an individual person that impacts the relationships between advisor and their clients.

E.g., citizenship can set additional rules on how to manage. i.e: some types of assets or advertisement tools might be forbidden

in some countries. Please Note: A person can have more than one citizenship.

Primary Key ('id').ENGINE = InnoDB..
Column NameData TypePK Primary Key, NN-Not Null, NullExampleComments
idBIGINT(12)PK, NN1PrimaryKey-ID, Not Null (auto creates)
NameVARCHAR(45)NULLDE GERMAN- Name of citizenship (upto 45 characters)
PersonBIGINT(12)NULL301ID of Person PII record
TypeBIGINT(12)NULL123Citizenship type id
CONSTRAINTFOREIGN KEYREFERENCESON DELETEON UPDATE
CitizenshipPerson(Person)Person_PII (id)NO ACTIONNO ACTION
CitizenshipType(Type)Citizenship_Type (id)NO ACTIONNO ACTION
CREATE INDEXONASCVISIBLE.
Person_idxCitizenship(Person ASC)VISIBLE.
Type_idxCitizenship(Type ASC)VISIBLE.