osc (「osc」プロジェクト)


テーブル一覧

linkableな親子関係を表しているため、 この一覧に同じテーブルが何度か表示されることがあります。 テーブル名の後ろの(2)などは親テーブルの個数を意味しており、 この表示があるテーブルはこの表の中で複数回表示されます。

address_book (「address_book」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
customers_id integer   - customers_id
address_book_id serial   - address_book_id
entry_gender text not null  - - entry_gender
entry_company text   - - entry_company
entry_firstname text not null  - - entry_firstname
entry_lastname text not null  - - entry_lastname
entry_street_address text not null  - - entry_street_address
entry_suburb text   - - entry_suburb
entry_postcode text not null  - - entry_postcode
entry_city text not null  - - entry_city
entry_state text   - - entry_state
entry_country_id integer not null default 0  - - entry_country_id
entry_zone_id integer not null default 0  - - entry_zone_id
entry_telephone text default ''  - - entry_telephone
deliverty_telephone text   - - deliverty_telephone
address_book

address_format (「address_format」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
address_summary text not null  - - address_summary
address_format text not null  - - address_format
address_format_id serial   - address_format_id
address_format

banners (「banners」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
status integer not null default 0  - - status
date_status_change timestamp   - - date_status_change
date_added timestamp not null  - - date_added
date_scheduled timestamp   - - date_scheduled
expires_date timestamp   - - expires_date
expires_impressions integer default 0  - - expires_impressions
banners_html_text text   - - banners_html_text
banners_group text not null  - - banners_group
banners_image text not null  - - banners_image
banners_url text not null  - - banners_url
banners_title text not null  - - banners_title
banners_id serial   - banners_id
banners

banners_history (「banners_history」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
banners_history_date timestamp not null  - - banners_history_date
banners_clicked integer not null default 0  - - banners_clicked
banners_shown integer not null default 0  - - banners_shown
banners_id integer not null  - - banners_id
banners_history_id serial   - banners_history_id
banners_history

categories (「categories」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
last_modified timestamp   - - last_modified
date_added timestamp   - - date_added
sort_order integer   - - sort_order
parent_id integer not null default 0  - - parent_id
categories_image text   - - categories_image
categories_id serial   - categories_id
categories

categories_description (「categories_description」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
categories_name text not null  - - categories_name
language_id integer not null default 0  - language_id
categories_id integer not null default 0  - categories_id
categories_description

configuration (「configuration」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
set_function text   - - set_function
use_function text   - - use_function
date_added timestamp not null  - - date_added
last_modified timestamp   - - last_modified
sort_order integer   - - sort_order
configuration_group_id integer not null  - - configuration_group_id
configuration_description text not null  - - configuration_description
configuration_value text not null  - - configuration_value
configuration_key text not null  - - configuration_key
configuration_title text not null  - - configuration_title
configuration_id serial   - configuration_id
configuration

configuration_group (「configuration_group」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
visible integer default 0  - - visible
sort_order integer   - - sort_order
configuration_group_description text not null  - - configuration_group_description
configuration_group_title text not null  - - configuration_group_title
configuration_group_id serial   - configuration_group_id
configuration_group

counter (「counter」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
counter integer   - counter
startdate text   - - startdate
counter

counter_history (「counter_history」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
counter integer   - counter
month text   - - month
counter_history

countries (「countries」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
address_format_id integer not null  - - address_format_id
countries_iso_code_3 text not null  - - countries_iso_code_3
countries_iso_code_2 text not null  - - countries_iso_code_2
countries_name text not null  - - countries_name
countries_id serial   - countries_id
countries

currencies (「currencies」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
last_updated timestamp   - - last_updated
value text   - - value
decimal_places text   - - decimal_places
thousands_point text   - - thousands_point
decimal_point text   - - decimal_point
symbol_right text   - - symbol_right
symbol_left text   - - symbol_left
code text not null  - - code
title text not null  - - title
currencies_id serial   - currencies_id
currencies

customers (「customers」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
customers_newsletter text   - - customers_newsletter
customers_password text not null  - - customers_password
customers_fax text   - - customers_fax
customers_telephone text not null  - - customers_telephone
customers_default_address_id integer   - - customers_default_address_id
customers_email_address text not null  - - customers_email_address
customers_dob timestamp not null  - - customers_dob
customers_lastname text not null  - - customers_lastname
customers_firstname text not null  - - customers_firstname
customers_gender text not null  - - customers_gender
customers_id serial   - customers_id
customers

customers_basket (「customers_basket」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
customers_basket_date_added text   - - customers_basket_date_added
final_price integer   - - final_price
customers_basket_quantity integer not null  - - customers_basket_quantity
products_id text not null  - - products_id
customers_id integer not null  - - customers_id
customers_basket_id serial   - customers_basket_id
customers_basket

customers_basket_attributes (「customers_basket_attributes」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
products_options_value_id integer not null  - - products_options_value_id
products_options_id integer not null  - - products_options_id
products_id text not null  - - products_id
customers_id integer not null  - - customers_id
customers_basket_attributes_id serial   - customers_basket_attributes_id
customers_basket_attributes

customers_info (「customers_info」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
global_product_notifications integer default 0  - - global_product_notifications
customers_info_date_account_last_modified timestamp   - - customers_info_date_account_last_modified
customers_info_date_account_created timestamp   - - customers_info_date_account_created
customers_info_number_of_logons integer   - - customers_info_number_of_logons
customers_info_date_of_last_logon timestamp   - - customers_info_date_of_last_logon
customers_info_id integer   - customers_info_id
customers_info

languages (「languages」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
sort_order integer   - - sort_order
directory text   - - directory
image text   - - image
code text not null  - - code
name text not null  - - name
languages_id serial   - languages_id
languages

manufacturers (「manufacturers」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
last_modified timestamp   - - last_modified
date_added timestamp   - - date_added
manufacturers_image text   - - manufacturers_image
manufacturers_name text not null  - - manufacturers_name
manufacturers_id serial   - manufacturers_id
manufacturers

manufacturers_info (「manufacturers_info」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
languages_id integer   - languages_id
date_last_click timestamp   - - date_last_click
url_clicked integer not null default 0  - - url_clicked
manufacturers_url text not null  - - manufacturers_url
manufacturers_id integer   - manufacturers_id
manufacturers_info

newsletters (「newsletters」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
locked integer default 0  - - locked
status integer   - - status
date_sent timestamp   - - date_sent
date_added timestamp not null  - - date_added
module text not null  - - module
content text not null  - - content
title text not null  - - title
newsletters_id serial   - newsletters_id
newsletters

orders (「orders」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
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
orders

orders_products (「orders_products」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
orders_products_id serial   - orders_products_id
orders_id integer not null  - - orders_id
products_id integer not null  - - products_id
products_model text   - - products_model
products_name text not null  - - products_name
products_price integer not null  - - products_price
final_price integer not null  - - final_price
products_tax integer not null  - - products_tax
products_quantity integer not null  - - products_quantity
orders_products

orders_status (「orders_status」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
orders_status_id integer not null default 0  - orders_status_id
language_id integer not null default 0  - language_id
orders_status_name text not null  - - orders_status_name
orders_status

orders_status_history (「orders_status_history」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
orders_status_history_id serial   - orders_status_history_id
orders_id integer not null  - - orders_id
orders_status_id integer not null  - - orders_status_id
date_added timestamp not null  - - date_added
customer_notified integer default 0  - - customer_notified
comments text   - - comments
orders_status_history

orders_products_attributes (「orders_products_attributes」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
orders_products_attributes_id serial   - orders_products_attributes_id
orders_id integer not null  - - orders_id
orders_products_id integer not null  - - orders_products_id
products_options text not null  - - products_options
products_options_values text not null  - - products_options_values
options_values_price integer not null  - - options_values_price
price_prefix text not null  - - price_prefix
orders_products_attributes

orders_products_download (「orders_products_download」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
orders_products_download_id serial   - orders_products_download_id
orders_id integer not null default 0  - - orders_id
orders_products_id integer not null default 0  - - orders_products_id
orders_products_filename text not null default ''  - - orders_products_filename
download_maxdays integer not null default 0  - - download_maxdays
download_count integer not null default 0  - - download_count
orders_products_download

orders_total (「orders_total」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
sort_order integer not null  - - sort_order
class text not null  - - class
value text not null  - - value
text text not null  - - text
title text not null  - - title
orders_id integer not null  - - orders_id
orders_total_id serial   - orders_total_id
orders_total

products (「products」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
products_ordered integer not null default 0  - - products_ordered
manufacturers_id integer   - - manufacturers_id
products_tax_class_id integer not null  - - products_tax_class_id
products_status integer not null  - - products_status
products_weight integer not null  - - products_weight
products_date_available timestamp   - - products_date_available
products_last_modified timestamp   - - products_last_modified
products_date_added timestamp not null  - - products_date_added
products_price integer not null  - - products_price
products_image text   - - products_image
products_model text   - - products_model
products_quantity integer not null  - - products_quantity
products_id serial   - products_id
products

products_attributes (「products_attributes」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
price_prefix text not null  - - price_prefix
options_values_price text not null  - - options_values_price
options_values_id integer not null  - - options_values_id
options_id integer not null  - - options_id
products_id integer not null  - - products_id
products_attributes_id serial   - products_attributes_id
products_attributes

products_attributes_download (「products_attributes_download」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
products_attributes_maxcount integer default 0  - - products_attributes_maxcount
products_attributes_maxdays integer default 0  - - products_attributes_maxdays
products_attributes_filename text not null default ''  - - products_attributes_filename
products_attributes_id integer   - products_attributes_id
products_attributes_download

products_description (「products_description」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
products_viewed integer default 0  - - products_viewed
products_url text   - - products_url
products_description text   - - products_description
products_name text not null default ''  - - products_name
language_id integer not null default 0  - language_id
products_id serial   - products_id
products_description

products_notifications (「products_notifications」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
date_added timestamp not null  - - date_added
customers_id integer not null  - - customers_id
products_id integer   - products_id
products_notifications

products_options (「products_options」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
products_options_name text not null default ''  - - products_options_name
language_id integer not null default 0  - language_id
products_options_id integer not null default 0  - products_options_id
products_options

products_options_values (「products_options_values」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
products_options_values_name text not null default ''  - - products_options_values_name
language_id integer not null default 0  - language_id
products_options_values_id integer not null default 0  - products_options_values_id
products_options_values

products_options_values_to_products_options (「products_options_values_to_products_options」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
products_options_values_id integer not null  - - products_options_values_id
products_options_id integer not null  - - products_options_id
products_options_values_to_products_options_id serial   - products_options_values_to_products_options_id
products_options_values_to_products_options

products_to_categories (「products_to_categories」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
categories_id integer   - categories_id
products_id integer   - products_id
products_to_categories

reviews (「reviews」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
reviews_read integer not null default 0  - - reviews_read
last_modified timestamp   - - last_modified
date_added timestamp   - - date_added
reviews_rating integer   - - reviews_rating
customers_name text not null  - - customers_name
customers_id integer   - - customers_id
products_id integer not null  - - products_id
reviews_id serial   - reviews_id
reviews

reviews_description (「reviews_description」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
reviews_text text not null  - - reviews_text
languages_id integer   - languages_id
reviews_id integer   - reviews_id
reviews_description

sessions (「sessions」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
value text not null  - - value
expiry integer not null  - - expiry
sesskey text   - sesskey
sessions

specials (「specials」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
status boolean not null default 'f'  - - status
date_status_change timestamp   - - date_status_change
expires_date timestamp   - - expires_date
specials_last_modified timestamp   - - specials_last_modified
specials_date_added timestamp   - - specials_date_added
specials_new_products_price integer not null  - - specials_new_products_price
products_id integer not null  - - products_id
specials_id serial   - specials_id
specials

tax_class (「tax_class」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
date_added timestamp not null  - - date_added
last_modified timestamp   - - last_modified
tax_class_description text not null  - - tax_class_description
tax_class_title text not null  - - tax_class_title
tax_class_id serial   - tax_class_id
tax_class

tax_rates (「tax_rates」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
date_added timestamp not null  - - date_added
last_modified timestamp   - - last_modified
tax_description text not null  - - tax_description
tax_rate integer not null  - - tax_rate
tax_priority integer default 0  - - tax_priority
tax_class_id integer not null  - - tax_class_id
tax_zone_id integer not null  - - tax_zone_id
tax_rates_id serial   - tax_rates_id
tax_rates

geo_zones (「geo_zones」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
date_added timestamp not null  - - date_added
last_modified timestamp   - - last_modified
geo_zone_description text not null  - - geo_zone_description
geo_zone_name text not null  - - geo_zone_name
geo_zone_id serial   - geo_zone_id
geo_zones

whos_online (「whos_online」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
customer_id integer   - - customer_id
full_name text not null  - - full_name
session_id text not null  - - session_id
ip_address text not null  - - ip_address
time_entry text not null  - - time_entry
time_last_click text not null  - - time_last_click
last_page_url text not null  - - last_page_url
who_online_seq_id serial   - who_online_seq_id
whos_online

zones (「zones」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
zone_name text not null  - - zone_name
zone_code text not null  - - zone_code
zone_country_id integer not null  - - zone_country_id
zone_id serial   - zone_id
zones

zones_to_geo_zones (「zones_to_geo_zones」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
date_added timestamp not null  - - date_added
last_modified timestamp   - - last_modified
geo_zone_id integer   - - geo_zone_id
zone_id integer   - - zone_id
zone_country_id integer not null  - - zone_country_id
association_id serial   - association_id
zones_to_geo_zones

users (「users」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
userid text not null  - userid
password text not null  - - password
name text   - - name
email text   - - email
users

permissions (「permissions」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
userid text not null  - userid
permission integer default 0  - - permission
permissions

login (「login」テーブル)フィールド一覧

フィールド名 データ型 制約 主キー 外部キー 説明文
sessionid text not null  - - sessionid
logintime timestamp not null  - - logintime
lastaccesstime timestamp not null  - - lastaccesstime
account text default ''  - - account
loginstatus text   - - loginstatus
logoutstatus text   - - logoutstatus
address integer   - - address
login_seq_id serial not null  - login_seq_id
login

リレーション一覧

末端の子テーブルから、親テーブル(子テーブルでの対象キー)を順に表示します。


リレーション名 説明 親テーブル 親フィールド 子テーブル 子フィールド コンポジション