Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
pub_relationship_id | serial | 10 | √ | nextval('pub_relationship_pub_relationship_id_seq'::regclass) |
|
|
|||||
subject_id | int4 | 10 | null |
|
|
||||||
object_id | int4 | 10 | null |
|
|
||||||
type_id | int4 | 10 | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
pub_relationship_pkey | Primary key | Asc | pub_relationship_id |
pub_relationship_c1 | Must be unique | Asc/Asc/Asc | subject_id + object_id + type_id |
pub_relationship_idx1 | Performance | Asc | subject_id |
pub_relationship_idx2 | Performance | Asc | object_id |
pub_relationship_idx3 | Performance | Asc | type_id |