Skip to main content

contacts2contacts

NameTypeStorageNullableForeign KeysDefault Value & Notes
PKIDbigintplainContact-to-contact ID
creatorintegerplainusers.IDCreator user ID (defaults to authenticated user on creation)
creationdatebigintplainDefault: date_part('epoch', now())Creation date and time as a Unix timestamp (defaults to current date and time on creation)
lastmodifiedbigintplainDefault: EXTRACT(epoch FROM now())Last modification date and time as a Unix timestamp (auto-reset on modification)
contact1integerplaincontacts.IDFirst contact ID (**dependency**)
contact2integerplaincontacts.IDSecond contact ID (**dependency**)
NameUniqueNulls DistinctPrimaryPartialMethodKeys
fk_contacts2contacts_contact2btreecontact2
pk_contacts2contactsbtreeID
u_contacts2contacts_contact1_contact2btreecontact1, contact2
NameType
fk_contacts2contacts_contact1foreign_key
fk_contacts2contacts_contact2foreign_key
fk_contacts2contacts_creatorforeign_key
pk_contacts2contactsprimary_key
u_contacts2contacts_contact1_contact2unique
NameTypeEventsFunctionDefinition
tiu_contacts2contacts_uniquebeforeinsert, updateftiu_contacts2contacts_unique
Loading...