Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
staff_id | BIGINT UNSIGNED | 20 | null |
|
|
従業員ID |
||||
nested_group_id | BIGINT UNSIGNED | 20 | null |
|
|
閲覧可能グループID(nullの場合、所属店舗のみ) |
||||
created_at | TIMESTAMP | 26 | √ | null |
|
|
||||
updated_at | TIMESTAMP | 26 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
staff_operable_nested_groups_nested_group_id_foreign | Performance | Asc | nested_group_id |
staff_operable_nested_groups_staff_id_nested_group_id_unique | Must be unique | Asc/Asc | staff_id + nested_group_id |