Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT UNSIGNED | 20 | √ | null |
|
|
PK |
|||
customer_id | BIGINT UNSIGNED | 20 | null |
|
|
顧客ID |
||||
store_id_in_charge | BIGINT UNSIGNED | 20 | null |
|
|
担当店舗 |
||||
service_operator_id | BIGINT UNSIGNED | 20 | √ | null |
|
|
接客担当者 |
|||
appointment_datetime | DATETIME | 26 | null |
|
|
予約日時 |
||||
number_of_persons | INT | 10 | null |
|
|
予約人数 |
||||
destination | enum('on_store', 'on_site') | 8 | null |
|
|
訪問先 |
||||
message | TEXT | 65535 | null |
|
|
店舗へのメッセージ |
||||
created_at | TIMESTAMP | 26 | √ | null |
|
|
||||
updated_at | TIMESTAMP | 26 | √ | null |
|
|
||||
deleted_at | TIMESTAMP | 26 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
appointments_customer_id_foreign | Performance | Asc | customer_id |
appointments_service_operator_id_foreign | Performance | Asc | service_operator_id |