message_read_times

27 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id BIGINT UNSIGNED 20 null
store_id BIGINT UNSIGNED 20 null
stores.id message_read_times_store_id_foreignR

店舗ID

customer_id BIGINT UNSIGNED 20 null
customers.id message_read_times_customer_id_foreignR

顧客ID

staff_id BIGINT UNSIGNED 20 null
staffs.id message_read_times_staff_id_foreignR

担当者ID

read_at TIMESTAMP 26 null

最終閲覧日時

created_at TIMESTAMP 26 null
updated_at TIMESTAMP 26 null

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
message_read_times_customer_id_foreign Performance Asc customer_id
message_read_times_staff_id_foreign Performance Asc staff_id
message_read_times_unique Must be unique Asc/Asc/Asc store_id + customer_id + staff_id

Relationships