Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT UNSIGNED | 20 | √ | null |
|
|
||||||
original_url | VARCHAR | 255 | null |
|
|
元URL |
||||||
customer_id | BIGINT UNSIGNED | 20 | null |
|
|
顧客ID |
||||||
access_code | VARCHAR | 255 | null |
|
|
アクセス用コード |
||||||
external_building_code | VARCHAR | 255 | √ | null |
|
|
外部システムの建物識別コード |
|||||
external_room_code | VARCHAR | 255 | √ | null |
|
|
外部システムの部屋識別コード |
|||||
is_exists | TINYINT | 3 | √ | null |
|
|
||||||
expire_datetime | DATETIME | 26 | 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 |
access_count_urls_access_code_is_exists_unique | Must be unique | Asc/Asc | access_code + is_exists |
access_count_urls_customer_id_foreign | Performance | Asc | customer_id |