Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
id | serial | 10 | √ | nextval('pcache_id_seq'::regclass) |
|
|
|||||
user_id | int4 | 10 | null |
|
|
||||||
action | permission_action | 2147483647 | null |
|
|
||||||
create_timestamp | timestamp | 22 | null |
|
|
||||||
object_type | object_type | 2147483647 | null |
|
|
||||||
object_id | int4 | 10 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
pcache_pkey | Primary key | Asc | id |
idx_3d853098232d562b | Performance | Asc | object_id |
idx_3d853098a76ed395 | Performance | Asc | user_id |
pcache_action_idx | Performance | Asc | action |
pcache_owner_idx | Performance | Asc/Asc | object_type + object_id |
pcache_permission_idx | Performance | Asc/Asc/Asc | object_type + object_id + action |
pcache_permission_user_idx | Performance | Asc/Asc/Asc/Asc | object_type + object_id + action + user_id |