|
|
| Legend: |
 |
| Primary key columns |
| Columns with indexes |
| Implied relationships |
| Excluded column relationships |
Dashed lines show implied relationships |
| < n > number of related tables |
|
Please support this project
|
| Column |
Type |
Size |
Nulls |
Auto |
Default |
Children |
Parents |
| id |
bigserial |
19 |
|
√ |
nextval('purchase_order_id_seq'::regclass) |
|
|
| te_created_id |
int8 |
19 |
√ |
|
null |
|
|
| te_modified_id |
int8 |
19 |
√ |
|
null |
|
|
| status |
int4 |
10 |
√ |
|
null |
|
|
| open_date |
timestamp |
29,6 |
√ |
|
null |
|
|
| quote_deadline |
timestamp |
29,6 |
√ |
|
null |
|
|
| expected_receival_date |
timestamp |
29,6 |
√ |
|
null |
|
|
| expected_pay_date |
timestamp |
29,6 |
√ |
|
null |
|
|
| receival_date |
timestamp |
29,6 |
√ |
|
null |
|
|
| confirm_date |
timestamp |
29,6 |
√ |
|
null |
|
|
| notes |
text |
2147483647 |
√ |
|
null |
|
|
| salesperson_name |
text |
2147483647 |
√ |
|
null |
|
|
| freight_type |
int4 |
10 |
√ |
|
null |
|
|
| expected_freight |
numeric |
10,2 |
√ |
|
null |
|
|
| surcharge_value |
numeric |
10,2 |
√ |
|
null |
|
|
| discount_value |
numeric |
10,2 |
√ |
|
null |
|
|
| supplier_id |
int8 |
19 |
√ |
|
null |
|
|
| branch_id |
int8 |
19 |
√ |
|
null |
|
|
| transporter_id |
int8 |
19 |
√ |
|
null |
|
|
| responsible_id |
int8 |
19 |
√ |
|
null |
|
|
| group_id |
int8 |
19 |
√ |
|
null |
|
|
| consigned |
bool |
1 |
√ |
|
false |
|
|
Table contained 1 rows at Sex Jun 10 16:28 BRT 2011
|
Indexes:
| Column(s) |
Type |
Sort |
Constraint Name |
Anomalies |
| id |
Primary key |
Asc |
purchase_order_pkey |
|
| te_created_id |
Must be unique |
Asc |
purchase_order_te_created_id_key |
This unique column is also nullable |
| te_modified_id |
Must be unique |
Asc |
purchase_order_te_modified_id_key |
This unique column is also nullable |
SchemaSpy was unable to generate a graphical representation of table relationships.
SchemaSpy requires Graphviz version 2.2.1 or versions greater than 2.4 from
www.graphviz.org.