Skip to main content

Primary key

document_id
uuiddefault:"Random UUID"publicrequired
The unique identifier for the user phone record.

Specific attributes

date_subscribed
timestamppublicrequired
The date and time when the user subscribed to this phone number.
Rules: Precision: 6, with timezone
date_unsubscribed
timestamppublic
The date and time when the user unsubscribed from this phone number, if applicable.
Rules: Precision: 6, with timezone
reason
varcharpublicrequired
The reason for subscribing or unsubscribing from this phone number.

Foreign keys

agent
uuidpublic
The unique identifier of the agent who performed the action. Ref: User Schema
phone
uuidpublicrequired
The unique identifier of the associated phone number. Ref: Phone Schema
user
uuidpublicrequired
The unique identifier of the user associated with this phone number. Ref: User Schema

Tracking attributes

created_at
timestamppublic
The timestamp when the user phone record was created.
Rules: Precision: 6, with timezone
deleted_at
timestamppublic
The timestamp when the user phone record was deleted, if applicable.
Rules: Precision: 6, with timezone
is_actived
booleandefault:"true"public
Indicates whether the user phone record is active.
is_deleted
booleandefault:"false"public
Indicates whether the user phone record has been deleted.
updated_at
timestamppublic
The timestamp when the user phone record was last updated.
Rules: Precision: 6, with timezone