Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| stockcollection_id | serial | 10 | √ | nextval('stockcollection_stockcollection_id_seq'::regclass) |
|
|
||||||||
| type_id | int4 | 10 | null |
|
|
type_id is the collection type cv. |
||||||||
| contact_id | int4 | 10 | √ | null |
|
|
contact_id links to the contact information for the collection. |
|||||||
| name | varchar | 255 | √ | null |
|
|
name is the collection. |
|||||||
| uniquename | text | 2147483647 | null |
|
|
uniqename is the value of the collection cv. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| stockcollection_pkey | Primary key | Asc | stockcollection_id |
| stockcollection_c1 | Must be unique | Asc/Asc | uniquename + type_id |
| stockcollection_idx1 | Performance | Asc | contact_id |
| stockcollection_idx2 | Performance | Asc | type_id |
| stockcollection_idx3 | Performance | Asc | uniquename |
| stockcollection_name_ind1 | Performance | Asc | name |



