Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| gift_id | CHAR | 36 | null |
|
|
|||||
| send_user_id | CHAR | 36 | null |
|
|
|||||
| received_user_id | CHAR | 36 | √ | null |
|
|
||||
| received_status | INT | 10 | null |
|
|
|||||
| legend_id | INT UNSIGNED | 10 | null |
|
|
|||||
| thanks_message | TEXT | 65535 | √ | null |
|
|
||||
| received_date | DATE | 10 | √ | null |
|
|
||||
| created_at | BIGINT UNSIGNED | 20 | unix_timestamp(now()) |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | gift_id |
| gift_legend_id_foreign | Performance | Asc | legend_id |
| idx_receivedUserId | Performance | Asc | received_user_id |
| idx_sendUserId | Performance | Asc | send_user_id |

