Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | serial | 10 | √ | nextval('acq.provider_id_seq'::regclass) |
|
|
||||||||||||||||||||||||||||||||||||||
name | text | 2147483647 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
owner | int4 | 10 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
currency_type | text | 2147483647 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
code | text | 2147483647 | null |
|
|
|||||||||||||||||||||||||||||||||||||||
holding_tag | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
san | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
buyer_san | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
edi_default | int4 | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
active | bool | 1 | true |
|
|
|||||||||||||||||||||||||||||||||||||||
prepayment_required | bool | 1 | false |
|
|
|||||||||||||||||||||||||||||||||||||||
url | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
text | 2147483647 | √ | null |
|
|
|||||||||||||||||||||||||||||||||||||||
phone | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
fax_phone | text | 2147483647 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
default_copy_count | int4 | 10 | 0 |
|
|
|||||||||||||||||||||||||||||||||||||||
default_claim_policy | int4 | 10 | √ | null |
|
|
||||||||||||||||||||||||||||||||||||||
primary_contact | int4 | 10 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
provider_pkey | Primary key | Asc | id |
code_once_per_owner | Must be unique | Asc/Asc | code + owner |
provider_name_once_per_owner | Must be unique | Asc/Asc | name + owner |