Zum Hauptinhalt springen

associations

Module: main

Generic many-to-many relationships between any two entities.

NameTypeNullableDefault ValueNotes
PKID
bigintAssociation 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)
entity1
t_entityFirst canonical entity
entity2
t_entitySecond canonical entity
index1
integerFirst entity ID
index2
integerSecond entity ID
relation
text''Relation
meta
jsonJSON-encoded metadata (object)
NameUniqueNulls DistinctPrimaryPartialMethodKeys
i_associations_entity2_index2btreeentity2, index2
pk_associationsbtreeID
u_associations_entity1_index1_entity2_index2btreeentity1, index1, entity2, index2
NameType
c_associations_entitycheck
dc_associations_metacheck
dc_associations_relationcheck
pk_associationsprimary_key
u_associations_entity1_index1_entity2_index2unique
NameTypeEventsFunctionDefinition
tiu_associations_uniquebeforeinsert, updateftiu_associations_unique
Loading...