Chat Messages Current Table Schema (chat_messages_current)


Description

Stores current session

chat_messages_current table columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigint 10 null
chatid bigint 10 0
chat.id chatmesscurr_cha2_fk R
userid bigint 10 0
user.id Implied Constraint R
groupid bigint 10 0
system BIT 1 0
message longtext 2147483647 null
timestamp bigint 10 0

Table contained -1 rows

chat_messages_current table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
chatmesscurr_cha_ix Performance Asc chatid
chatmesscurr_gro_ix Performance Asc groupid
chatmesscurr_timcha_ix Performance Asc/Asc timestamp + chatid
chatmesscurr_use_ix Performance Asc userid

chat_messages_current table relationships