Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT UNSIGNED | 20 | √ | null |
|
|
||||
store_id | BIGINT UNSIGNED | 20 | null |
|
|
|||||
customer_id | BIGINT UNSIGNED | 20 | null |
|
|
|||||
reserve_date1 | DATE | 10 | null |
|
|
予約希望日1 |
||||
reserve_time1 | TIME | 16 | null |
|
|
予約希望時間1 |
||||
reserve_date2 | DATE | 10 | √ | null |
|
|
予約希望日2 |
|||
reserve_time2 | TIME | 16 | √ | null |
|
|
予約希望時間2 |
|||
reserve_date3 | DATE | 10 | √ | null |
|
|
予約希望日3 |
|||
reserve_time3 | TIME | 16 | √ | null |
|
|
予約希望時間3 |
|||
request_type | VARCHAR | 255 | null |
|
|
|||||
tel | VARCHAR | 255 | null |
|
|
|||||
message_to_store | VARCHAR | 255 | null |
|
|
|||||
is_approve | BIT | 1 | √ | null |
|
|
||||
approve_date | DATETIME | 26 | √ | null |
|
|
||||
is_send_3days_ago_message | BIT | 1 | 0 |
|
|
|||||
is_send_1day_ago_message | BIT | 1 | 0 |
|
|
|||||
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 |
visit_reservations_customer_id_foreign | Performance | Asc | customer_id |
visit_reservations_store_id_foreign | Performance | Asc | store_id |