Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('acq.lineitem_id_seq'::regclass) |
|
|
|||||||||||||||||||||||
| creator | int4 | 10 | null |
|
|
||||||||||||||||||||||||
| editor | int4 | 10 | null |
|
|
||||||||||||||||||||||||
| selector | int4 | 10 | null |
|
|
||||||||||||||||||||||||
| provider | int4 | 10 | √ | null |
|
|
|||||||||||||||||||||||
| purchase_order | int4 | 10 | √ | null |
|
|
|||||||||||||||||||||||
| picklist | int4 | 10 | √ | null |
|
|
|||||||||||||||||||||||
| expected_recv_time | timestamptz | 35,6 | √ | null |
|
|
|||||||||||||||||||||||
| create_time | timestamptz | 35,6 | now() |
|
|
||||||||||||||||||||||||
| edit_time | timestamptz | 35,6 | now() |
|
|
||||||||||||||||||||||||
| marc | text | 2147483647 | null |
|
|
||||||||||||||||||||||||
| eg_bib_id | int8 | 19 | √ | null |
|
|
|||||||||||||||||||||||
| source_label | text | 2147483647 | √ | null |
|
|
|||||||||||||||||||||||
| state | text | 2147483647 | 'new'::text |
|
|
||||||||||||||||||||||||
| cancel_reason | int4 | 10 | √ | null |
|
|
|||||||||||||||||||||||
| estimated_unit_price | numeric | 0 | √ | null |
|
|
|||||||||||||||||||||||
| claim_policy | int4 | 10 | √ | null |
|
|
|||||||||||||||||||||||
| queued_record | int8 | 19 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| lineitem_pkey | Primary key | Asc | id |
| li_creator_idx | Performance | Asc | creator |
| li_editor_idx | Performance | Asc | editor |
| li_pl_idx | Performance | Asc | picklist |
| li_po_idx | Performance | Asc | purchase_order |
| li_queued_record_idx | Performance | Asc | queued_record |
| li_selector_idx | Performance | Asc | selector |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| picklist_or_po | (((picklist IS NOT NULL) OR (purchase_order IS NOT NULL))) |
