Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | serial | 10 | √ | nextval('role_permission_id_seq'::regclass) |
|
|
||||
role_id | serial | 10 | √ | nextval('role_permission_role_id_seq'::regclass) |
|
|
||||
permission_id | serial | 10 | √ | nextval('role_permission_permission_id_seq'::regclass) |
|
|
||||
created_at | timestamptz | 35,6 | CURRENT_DATE |
|
|
|||||
created_by | int4 | 10 | null |
|
|
|||||
modified_at | timestamptz | 35,6 | CURRENT_DATE |
|
|
|||||
modified_by | int4 | 10 | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
role_permission_pkey | Primary key | Asc | id |
role_permission_role_id_permission_id_idx | Performance | Asc/Asc | role_id + permission_id |
uniq_role_permission | Must be unique | Asc/Asc | role_id + permission_id |