| フィールド名 | データ型 | 制約 | 主キー | 外部キー | 説明文 |
|---|---|---|---|---|---|
| orders_id | serial | ○ | - | orders_id | |
| customers_id | integer | not null | - | - | customers_id |
| customers_name | text | not null | - | - | customers_name |
| customers_company | text | - | - | customers_company | |
| customers_street_address | text | not null | - | - | customers_street_address |
| customers_suburb | text | - | - | customers_suburb | |
| customers_city | text | not null | - | - | customers_city |
| customers_postcode | text | not null | - | - | customers_postcode |
| customers_state | text | - | - | customers_state | |
| customers_country | text | not null | - | - | customers_country |
| customers_telephone | text | not null | - | - | customers_telephone |
| customers_email_address | text | not null | - | - | customers_email_address |
| customers_address_format_id | integer | not null | - | - | customers_address_format_id |
| delivery_name | text | not null | - | - | delivery_name |
| delivery_company | text | - | - | delivery_company | |
| delivery_street_address | text | not null | - | - | delivery_street_address |
| delivery_suburb | text | - | - | delivery_suburb | |
| delivery_city | text | not null | - | - | delivery_city |
| delivery_postcode | text | not null | - | - | delivery_postcode |
| delivery_state | text | - | - | delivery_state | |
| delivery_country | text | not null | - | - | delivery_country |
| delivery_address_format_id | integer | not null | - | - | delivery_address_format_id |
| billing_name | text | not null | - | - | billing_name |
| billing_company | text | - | - | billing_company | |
| billing_street_address | text | not null | - | - | billing_street_address |
| billing_suburb | text | - | - | billing_suburb | |
| billing_city | text | not null | - | - | billing_city |
| billing_postcode | text | not null | - | - | billing_postcode |
| billing_state | text | - | - | billing_state | |
| billing_country | text | not null | - | - | billing_country |
| billing_address_format_id | integer | not null | - | - | billing_address_format_id |
| payment_method | text | not null | - | - | payment_method |
| cc_type | text | - | - | cc_type | |
| cc_owner | text | - | - | cc_owner | |
| cc_number | text | - | - | cc_number | |
| cc_expires | text | - | - | cc_expires | |
| last_modified | timestamp | - | - | last_modified | |
| date_purchased | timestamp | - | - | date_purchased | |
| orders_status | integer | not null | - | - | orders_status |
| orders_date_finished | timestamp | - | - | orders_date_finished | |
| currency | text | - | - | currency | |
| currency_value | integer | - | - | currency_value | |
| entry_telephone | text | - | - | entry_telephone | |
| deliverty_telephone | text | - | - | deliverty_telephone | |
| delivery_telephone | text | - | - | delivery_telephone | |
| billing_telephone | text | - | - | billing_telephone |