Skip to main content

contacts2contacts

Module: contacts

Junction table linking related contacts to each other.

NameTypeNullableDefault ValueNotes
PKID
bigintContact-to-contact ID
creator
integerCreator user ID (defaults to authenticated user on creation)
creationdate
bigintdate_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodified
bigintEXTRACT(epoch FROM now())Last modification date and time as a Unix timestamp (auto-reset on modification)
contact1
contacts.ID
integerFirst contact ID (**dependency**)
contact2
contacts.ID
integerSecond contact ID (**dependency**)
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_contacts2contacts_contact2btreecontact2
pk_contacts2contactsbtreeID
u_contacts2contacts_contact1_contact2btreecontact1, contact2
NameType
fk_contacts2contacts_contact1foreign_key
fk_contacts2contacts_contact2foreign_key
pk_contacts2contactsprimary_key
u_contacts2contacts_contact1_contact2unique
NameTypeEventsFunctionDefinition
tiu_contacts2contacts_uniquebeforeinsert, updateftiu_contacts2contacts_unique
Loading...