Skip to main content

groups

NameTypeStorageNullableForeign KeysDefault Value & Notes
PKIDintegerplainGroup 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: date_part('epoch', now())Last modification date and time as a Unix timestamp (auto-reset on modification)
leaderintegerplainusers.IDLeader user ID
activitysmallintplainDefault: 0Activity (`0`=ACTIVE, `1`=DEACTIVATED, `2`=DELETED)
nametextmainName (case-insensitively unique)
descriptiontextextendedDefault: ''No description provided.
NameUniqueNulls DistinctPrimaryPartialMethodKeys
pk_groupsbtreeID
s_groups_nameginname
u_groups_namebtreelower(name)
NameType
dc_groups_activitycheck
dc_groups_descriptioncheck
dc_groups_namecheck
fk_groups_creatorforeign_key
fk_groups_leaderforeign_key
pk_groupsprimary_key
Loading...