roles

5 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id BIGINT UNSIGNED 20 null
role_permissions.role_id role_permissions_role_id_foreignR
staffs.role_id staffs_role_id_foreignR
company_id BIGINT UNSIGNED 20 null
companies.id roles_company_id_foreignR

会社ID

name VARCHAR 100 null

ロール表示名

level INT UNSIGNED 10 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
roles_company_id_foreign Performance Asc company_id

Relationships