Message Seen
Defines the structure of the message seen table
Table
Name: message_seens
Columns
id (Primary Key)
Description: The unique identifier of the table
Data Type: Unsigned bigint
Nullable: No
user_id (Foreign Key)
Description: The user unique identifier
Data Type: Unsigned bigint
Nullable: No
Table: User
group_chat_id (Foreign Key)
Description: The group chat unique identifier
Data Type: Unsigned bigint
Nullable: No
Table: User
message_id (Foreign Key)
Description: The message unique identifier
Data Type: Unsigned bigint
Nullable: No
Table: Message
created_at
Description: The timestamp when the record is created
Data Type: Timestamp
Nullable: Yes
updated_at
Description: The timestamp when the record is updated
Data Type: Timestamp
Nullable: Yes