0% found this document useful (0 votes)
150 views1 page

ER Opencart 2

This document contains column definitions for various database tables related to e-commerce functions like products, orders, customers, and more. There are over 50 tables listed with details like column names, data types, indexes and foreign keys. The tables store information on things like currencies, categories, customers, products, orders, stock levels, downloads and more for an online store.

Uploaded by

Alfredo Martín
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
150 views1 page

ER Opencart 2

This document contains column definitions for various database tables related to e-commerce functions like products, orders, customers, and more. There are over 50 tables listed with details like column names, data types, indexes and foreign keys. The tables store information on things like currencies, categories, customers, products, orders, stock levels, downloads and more for an online store.

Uploaded by

Alfredo Martín
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

currency menu_module category coupon_history custom_field_customer_group customer_search customer_activity customer_history weight_class_description customer_ip

currency_id INT(11) menu_module_id INT(11) category_id INT(11) coupon_history_id INT(11) custom_field_id INT(11) customer_search_id INT(11) customer_activity_id INT(11) customer_history_id INT(11) weight_class_id INT(11) customer_ip_id INT(11)
title VARCHAR(32) menu_id INT(11) image VARCHAR(255) coupon_id INT(11) customer_group_id INT(11) store_id INT(11) customer_id INT(11) customer_id INT(11) language_id INT(11) customer_id INT(11)
code VARCHAR(3) code VARCHAR(64) parent_id INT(11) order_id INT(11) required TINYINT(1) language_id INT(11) key VARCHAR(64) comment TEXT title VARCHAR(32) ip VARCHAR(40)

symbol_left VARCHAR(12) sort_order INT(3) top TINYINT(1) customer_id INT(11) Indexes customer_id INT(11) data TEXT date_added DATETIME unit VARCHAR(4) date_added DATETIME
symbol_right VARCHAR(12) Indexes column INT(3) amount DECIMAL(15,4) keyword VARCHAR(255) ip VARCHAR(40) Indexes Indexes Indexes

decimal_place CHAR(1) sort_order INT(3) date_added DATETIME category_id INT(11) date_added DATETIME
value FLOAT(15,8) status TINYINT(1) Indexes sub_category TINYINT(1) Indexes

status TINYINT(1) date_added DATETIME description TINYINT(1)


date_modified DATETIME date_modified DATETIME products INT(11)
Indexes Indexes ip VARCHAR(40)
date_added DATETIME
user cart upload voucher address category_description api_session country banner_image affiliate category_to_store
Indexes
user_id INT(11) cart_id INT(11) upload_id INT(11) voucher_id INT(11) address_id INT(11) category_id INT(11) api_session_id INT(11) country_id INT(11) banner_image_id INT(11) affiliate_id INT(11) category_id INT(11)
user_group_id INT(11) api_id INT(11) name VARCHAR(255) order_id INT(11) customer_id INT(11) language_id INT(11) api_id INT(11) name VARCHAR(128) banner_id INT(11) firstname VARCHAR(32) store_id INT(11)
username VARCHAR(20) customer_id INT(11) filename VARCHAR(255) code VARCHAR(10) firstname VARCHAR(32) name VARCHAR(255) token VARCHAR(32) iso_code_2 VARCHAR(2) language_id INT(11) lastname VARCHAR(32) Indexes

password VARCHAR(40) session_id VARCHAR(32) code VARCHAR(255) from_name VARCHAR(64) lastname VARCHAR(32) description TEXT session_id VARCHAR(32) iso_code_3 VARCHAR(3) title VARCHAR(64) email VARCHAR(96)

salt VARCHAR(9) product_id INT(11) date_added DATETIME from_email VARCHAR(96) company VARCHAR(40) meta_title VARCHAR(255) session_name VARCHAR(32) address_format TEXT link VARCHAR(255) telephone VARCHAR(32)
firstname VARCHAR(32) recurring_id INT(11) Indexes to_name VARCHAR(64) address_1 VARCHAR(128) meta_description VARCHAR(255) ip VARCHAR(40) postcode_required TINYINT(1) image VARCHAR(255) fax VARCHAR(32)
lastname VARCHAR(32) option TEXT to_email VARCHAR(96) address_2 VARCHAR(128) meta_keyword VARCHAR(255) date_added DATETIME status TINYINT(1) sort_order INT(3) password VARCHAR(40)
email VARCHAR(96) quantity INT(5) voucher_theme_id INT(11) city VARCHAR(128) Indexes date_modified DATETIME Indexes Indexes salt VARCHAR(9)
product_related
image VARCHAR(255) date_added DATETIME message TEXT postcode VARCHAR(10) Indexes company VARCHAR(40)
product_id INT(11)
code VARCHAR(40) Indexes amount DECIMAL(15,4) country_id INT(11) website VARCHAR(255)
related_id INT(11)
ip VARCHAR(40) status TINYINT(1) zone_id INT(11) address_1 VARCHAR(128)
order_recurring_transaction Indexes product_reward custom_field_description product_option order_history openbay_faq
status TINYINT(1) date_added DATETIME custom_field TEXT address_2 VARCHAR(128)
order_recurring_transaction_id INT(11) product_reward_id INT(11) custom_field_id INT(11) product_option_id INT(11) order_history_id INT(11) id INT(11)
date_added DATETIME setting Indexes Indexes city VARCHAR(128)
order_recurring_id INT(11) product_id INT(11) language_id INT(11) product_id INT(11) order_id INT(11) route TEXT
Indexes setting_id INT(11) postcode VARCHAR(10)
reference VARCHAR(255) product_description customer_group_id INT(11) name VARCHAR(128) option_id INT(11) order_status_id INT(11) Indexes
store_id INT(11) country_id INT(11)
type VARCHAR(255) voucher_history points INT(8) Indexes value TEXT notify TINYINT(1)
product_id INT(11) zone_id INT(11)
code VARCHAR(32) voucher_history_id INT(11)
amount DECIMAL(10,4) language_id INT(11) Indexes required TINYINT(1) comment TEXT
key VARCHAR(64) code VARCHAR(64)
date_added DATETIME voucher_id INT(11) Indexes date_added DATETIME
name VARCHAR(255) commission DECIMAL(4,2)
value TEXT order_id INT(11)
Indexes description TEXT Indexes
serialized TINYINT(1) tax VARCHAR(64)
amount DECIMAL(15,4)
tag TEXT payment VARCHAR(6)
Indexes
date_added DATETIME
meta_title VARCHAR(255) cheque VARCHAR(100)
Indexes product_to_download
meta_description VARCHAR(255) paypal VARCHAR(64)
meta_keyword VARCHAR(255) product_id INT(11)
product_special stock_status return_status return_reason order_status order_option tax_rate bank_name VARCHAR(64) banner
Indexes download_id INT(11)
product_special_id INT(11) stock_status_id INT(11) return_status_id INT(11) return_reason_id INT(11) order_status_id INT(11) order_option_id INT(11) tax_rate_id INT(11) bank_branch_number VARCHAR(64) banner_id INT(11)
Indexes
product_id INT(11) language_id INT(11) language_id INT(11) language_id INT(11) language_id INT(11) order_id INT(11) geo_zone_id INT(11) bank_swift_code VARCHAR(64) name VARCHAR(64)

customer_group_id INT(11) name VARCHAR(32) name VARCHAR(32) name VARCHAR(128) name VARCHAR(32) order_product_id INT(11) name VARCHAR(32) bank_account_name VARCHAR(64) status TINYINT(1)
priority INT(5) Indexes Indexes Indexes Indexes product_option_id INT(11) rate DECIMAL(15,4) bank_account_number VARCHAR(64) Indexes
category_to_layout
category_filter
price DECIMAL(15,4) product_option_value_id INT(11) type CHAR(1) ip VARCHAR(40)
category_id INT(11)
category_id INT(11)
date_start DATE name VARCHAR(255) date_added DATETIME status TINYINT(1)
store_id INT(11)
filter_id INT(11)
date_end DATE value TEXT date_modified DATETIME approved TINYINT(1)
layout_id INT(11)
Indexes
Indexes Indexes type VARCHAR(32) Indexes date_added DATETIME

Indexes Indexes

recurring
customer_group custom_field_value zone_to_geo_zone url_alias geo_zone filter information_to_layout coupon customer recurring_id INT(11) weight_class
customer_group_id INT(11) custom_field_value_id INT(11) zone_to_geo_zone_id INT(11) url_alias_id INT(11) geo_zone_id INT(11) filter_id INT(11) information_id INT(11) coupon_id INT(11) customer_id INT(11) price DECIMAL(10,4) weight_class_id INT(11)
approval INT(1) custom_field_id INT(11) country_id INT(11) query VARCHAR(255) name VARCHAR(32) filter_group_id INT(11) store_id INT(11) name VARCHAR(128) customer_group_id INT(11) frequency ENUM(...) value DECIMAL(15,8)
sort_order INT(3) sort_order INT(3) zone_id INT(11) keyword VARCHAR(255) description VARCHAR(255) sort_order INT(3) layout_id INT(11) code VARCHAR(20) store_id INT(11) duration INT(10) Indexes
Indexes Indexes geo_zone_id INT(11) Indexes date_modified DATETIME Indexes Indexes type CHAR(1) language_id INT(11) cycle INT(10)

date_added DATETIME date_added DATETIME discount DECIMAL(15,4) firstname VARCHAR(32) trial_status TINYINT(4)

date_modified DATETIME Indexes logged TINYINT(1) lastname VARCHAR(32) trial_price DECIMAL(10,4)


Indexes shipping TINYINT(1) email VARCHAR(96) trial_frequency ENUM(...)
attribute_description
total DECIMAL(15,4) telephone VARCHAR(32) trial_duration INT(10)
attribute_id INT(11)
date_start DATE fax VARCHAR(32) trial_cycle INT(10)
language_id INT(11)
date_end DATE password VARCHAR(40) status TINYINT(4)
name VARCHAR(64)
uses_total INT(11) salt VARCHAR(9) sort_order INT(11)
coupon_product return_history product_to_layout Indexes affiliate_transaction custom_field location filter_description
uses_customer VARCHAR(11) cart TEXT Indexes
coupon_product_id INT(11) return_history_id INT(11) product_id INT(11) affiliate_transaction_id INT(11) custom_field_id INT(11) location_id INT(11) filter_id INT(11)
status TINYINT(1) wishlist TEXT
coupon_id INT(11) return_id INT(11) store_id INT(11) marketing affiliate_id INT(11) type VARCHAR(32) name VARCHAR(32) language_id INT(11)
date_added DATETIME newsletter TINYINT(1)
layout
product_id INT(11) return_status_id INT(11) layout_id INT(11) marketing_id INT(11) order_id INT(11) value TEXT address TEXT filter_group_id INT(11)
Indexes address_id INT(11)
Indexes Indexes layout_id INT(11)
notify TINYINT(1) name VARCHAR(32) description TEXT validation VARCHAR(255) telephone VARCHAR(32) name VARCHAR(64)
custom_field TEXT
name VARCHAR(64) Indexes
comment TEXT description TEXT amount DECIMAL(15,4) location VARCHAR(7) fax VARCHAR(32)
ip VARCHAR(40) Indexes
date_added DATETIME code VARCHAR(64) date_added DATETIME status TINYINT(1) geocode VARCHAR(32) order_voucher status TINYINT(1)
Indexes clicks INT(5) Indexes sort_order INT(3) image VARCHAR(255) order_voucher_id INT(11) approved TINYINT(1)
date_added DATETIME Indexes open TEXT order_id INT(11) safe TINYINT(1)
Indexes comment TEXT voucher_id INT(11) token TEXT
Indexes
description VARCHAR(255) code VARCHAR(40)
code VARCHAR(10) date_added DATETIME
tax_rule language affiliate_login length_class_description user_group coupon_category product_filter option_description length_class
from_name VARCHAR(64) Indexes
tax_rule_id INT(11) language_id INT(11) affiliate_login_id INT(11) length_class_id INT(11) user_group_id INT(11) coupon_id INT(11) product_id INT(11) option_id INT(11) length_class_id INT(11)
from_email VARCHAR(96)
tax_class_id INT(11) name VARCHAR(32) email VARCHAR(96) language_id INT(11) name VARCHAR(64) category_id INT(11) filter_id INT(11) language_id INT(11) value DECIMAL(15,8)
to_name VARCHAR(64)
tax_rate_id INT(11) code VARCHAR(5) ip VARCHAR(40) title VARCHAR(32) permission TEXT Indexes Indexes name VARCHAR(128) Indexes
to_email VARCHAR(96)
based VARCHAR(10) locale VARCHAR(255) total INT(4) unit VARCHAR(4) Indexes Indexes
voucher_theme_id INT(11)
priority INT(5) image VARCHAR(64) date_added DATETIME Indexes
message TEXT
Indexes directory VARCHAR(32) date_modified DATETIME
amount DECIMAL(15,4)
sort_order INT(3) Indexes
Indexes
status TINYINT(1)
Indexes

product_image option_value_description product_attribute option_value product_option_value product_to_category modification theme module voucher_theme zone
product_image_id INT(11) option_value_id INT(11) product_id INT(11) option_value_id INT(11) product_option_value_id INT(11) product_id INT(11) modification_id INT(11) theme_id INT(11) module_id INT(11) voucher_theme_id INT(11) zone_id INT(11)
product_id INT(11) language_id INT(11) attribute_id INT(11) option_id INT(11) product_option_id INT(11) category_id INT(11) name VARCHAR(64) store_id INT(11) name VARCHAR(64) image VARCHAR(255) country_id INT(11)
image VARCHAR(255) option_id INT(11) language_id INT(11) image VARCHAR(255) product_id INT(11) Indexes code VARCHAR(64) theme VARCHAR(64) code VARCHAR(32) Indexes name VARCHAR(128)

sort_order INT(3) name VARCHAR(128) text TEXT sort_order INT(3) option_id INT(11) author VARCHAR(64) route VARCHAR(64) setting TEXT code VARCHAR(32)
Indexes Indexes Indexes Indexes option_value_id INT(11) version VARCHAR(32) code TEXT Indexes status TINYINT(1)
quantity INT(3) link VARCHAR(255) Indexes Indexes

subtract TINYINT(1) xml MEDIUMTEXT


price DECIMAL(15,4) status TINYINT(1)

price_prefix VARCHAR(1) date_added DATETIME


points INT(8) Indexes

points_prefix VARCHAR(1)
recurring_description attribute_group_description attribute information_description order_recurring product_to_store product_recurring manufacturer_to_store layout_module order_product
weight DECIMAL(15,8)
recurring_id INT(11) attribute_group_id INT(11) attribute_id INT(11) information_id INT(11) order_recurring_id INT(11) product_id INT(11) product_id INT(11) manufacturer_id INT(11) layout_module_id INT(11) order_product_id INT(11)
weight_prefix VARCHAR(1)
language_id INT(11) language_id INT(11) attribute_group_id INT(11) language_id INT(11) order_id INT(11) store_id INT(11) recurring_id INT(11) store_id INT(11) layout_id INT(11) order_id INT(11)
Indexes
name VARCHAR(255) name VARCHAR(64) sort_order INT(3) title VARCHAR(64) reference VARCHAR(255) Indexes customer_group_id INT(11) Indexes code VARCHAR(64) product_id INT(11)
Indexes Indexes Indexes description TEXT product_id INT(11) Indexes position VARCHAR(14) name VARCHAR(255)
meta_title VARCHAR(255) product_name VARCHAR(255) sort_order INT(3) model VARCHAR(64)

meta_description VARCHAR(255) product_quantity INT(11) Indexes quantity INT(4)


meta_keyword VARCHAR(255) recurring_id INT(11) price DECIMAL(15,4)
Indexes recurring_name VARCHAR(255) total DECIMAL(15,4)
recurring_description VARCHAR(255) tax DECIMAL(15,4)

recurring_frequency VARCHAR(25) reward INT(8)


recurring_cycle SMALLINT(6) Indexes
customer_login api customer_wishlist affiliate_activity tax_class custom_field_value_description customer_group_description customer_online return_action
recurring_duration SMALLINT(6)
customer_login_id INT(11) api_id INT(11) customer_id INT(11) affiliate_activity_id INT(11) tax_class_id INT(11) custom_field_value_id INT(11) customer_group_id INT(11) ip VARCHAR(40) return_action_id INT(11)
recurring_price DECIMAL(10,4)
email VARCHAR(96) name VARCHAR(64) product_id INT(11) affiliate_id INT(11) title VARCHAR(32) language_id INT(11) language_id INT(11) customer_id INT(11) language_id INT(11)
trial TINYINT(1)
ip VARCHAR(40) key TEXT date_added DATETIME key VARCHAR(64) description VARCHAR(255) custom_field_id INT(11) name VARCHAR(32) url TEXT name VARCHAR(64)
trial_frequency VARCHAR(25)
total INT(4) status TINYINT(1) Indexes data TEXT date_added DATETIME name VARCHAR(128) description TEXT referer TEXT Indexes
trial_cycle SMALLINT(6)
date_added DATETIME date_added DATETIME ip VARCHAR(40) date_modified DATETIME Indexes Indexes date_added DATETIME
trial_duration SMALLINT(6)
date_modified DATETIME date_modified DATETIME date_added DATETIME Indexes Indexes
trial_price DECIMAL(10,4)
Indexes Indexes Indexes
status TINYINT(4)
date_added DATETIME
Indexes

download product information order event filter_group_description information_to_store layout_route menu_description manufacturer
download_id INT(11) product_id INT(11) information_id INT(11) order_id INT(11) event_id INT(11) filter_group_id INT(11) information_id INT(11) layout_route_id INT(11) menu_id INT(11) manufacturer_id INT(11)
filename VARCHAR(160) model VARCHAR(64) bottom INT(1) invoice_no INT(11) code VARCHAR(32) language_id INT(11) store_id INT(11) layout_id INT(11) language_id INT(11) name VARCHAR(64)
mask VARCHAR(128) sku VARCHAR(64) sort_order INT(3) invoice_prefix VARCHAR(26) trigger TEXT name VARCHAR(64) Indexes store_id INT(11) name VARCHAR(64) image VARCHAR(255)

date_added DATETIME upc VARCHAR(12) status TINYINT(1) store_id INT(11) action TEXT Indexes route VARCHAR(64) Indexes sort_order INT(3)
Indexes ean VARCHAR(14) Indexes store_name VARCHAR(64) status TINYINT(1) Indexes Indexes

jan VARCHAR(13) store_url VARCHAR(255) date_added DATETIME


isbn VARCHAR(17) customer_id INT(11) Indexes

mpn VARCHAR(64) customer_group_id INT(11)


location VARCHAR(128) firstname VARCHAR(32)
quantity INT(4) lastname VARCHAR(32)
stock_status_id INT(11) email VARCHAR(96)
order_custom_field order_total translation customer_reward customer_transaction extension tax_rate_to_customer_group
image VARCHAR(255) telephone VARCHAR(32)
order_custom_field_id INT(11) order_total_id INT(10) translation_id INT(11) customer_reward_id INT(11) customer_transaction_id INT(11) extension_id INT(11) tax_rate_id INT(11)
manufacturer_id INT(11) fax VARCHAR(32)
order_id INT(11) order_id INT(11) store_id INT(11) customer_id INT(11) customer_id INT(11) type VARCHAR(32) customer_group_id INT(11)
shipping TINYINT(1) custom_field TEXT
custom_field_id INT(11) code VARCHAR(32) language_id INT(11) order_id INT(11) order_id INT(11) code VARCHAR(32) Indexes
price DECIMAL(15,4) payment_firstname VARCHAR(32)
custom_field_value_id INT(11) title VARCHAR(255) route VARCHAR(64) description TEXT description TEXT Indexes
points INT(8) payment_lastname VARCHAR(32)
name VARCHAR(255) value DECIMAL(15,4) key VARCHAR(64) points INT(8) amount DECIMAL(15,4)
tax_class_id INT(11) payment_company VARCHAR(60)
value TEXT sort_order INT(3) value TEXT date_added DATETIME date_added DATETIME
date_available DATE payment_address_1 VARCHAR(128)
type VARCHAR(32) Indexes Indexes Indexes Indexes
weight DECIMAL(15,8) payment_address_2 VARCHAR(128)
location VARCHAR(16)
weight_class_id INT(11) payment_city VARCHAR(128)
Indexes
length DECIMAL(15,8) payment_postcode VARCHAR(10)

width DECIMAL(15,8) payment_country VARCHAR(128)

filter_group height DECIMAL(15,8) product_discount payment_country_id INT(11) store voucher_theme_description menu return category_path
filter_group_id INT(11) length_class_id INT(11) product_discount_id INT(11) payment_zone VARCHAR(128) store_id INT(11) voucher_theme_id INT(11) menu_id INT(11) return_id INT(11) category_id INT(11)

sort_order INT(3) subtract TINYINT(1) product_id INT(11) payment_zone_id INT(11) name VARCHAR(64) language_id INT(11) store_id INT(11) order_id INT(11) path_id INT(11)
Indexes minimum INT(11) customer_group_id INT(11) payment_address_format TEXT url VARCHAR(255) name VARCHAR(32) type VARCHAR(6) product_id INT(11) level INT(11)
sort_order INT(11) quantity INT(4) payment_custom_field TEXT ssl VARCHAR(255) Indexes link VARCHAR(255) customer_id INT(11) Indexes
status TINYINT(1) priority INT(5) payment_method VARCHAR(128) Indexes sort_order INT(3) firstname VARCHAR(32)
viewed INT(5) price DECIMAL(15,4) payment_code VARCHAR(128) status TINYINT(1) lastname VARCHAR(32)
date_added DATETIME date_start DATE shipping_firstname VARCHAR(32) Indexes email VARCHAR(96)
date_modified DATETIME date_end DATE 31 more...
telephone VARCHAR(32)
Indexes Indexes Indexes product VARCHAR(255)
model VARCHAR(64)

quantity INT(4)
api_ip fraud_ip option
opened TINYINT(1)
api_ip_id INT(11) ip VARCHAR(40) option_id INT(11)
return_reason_id INT(11)
api_id INT(11) date_added DATETIME type VARCHAR(32)
return_action_id INT(11)
ip VARCHAR(40) Indexes sort_order INT(3)
return_status_id INT(11)
Indexes Indexes
comment TEXT
date_ordered DATE
date_added DATETIME
date_modified DATETIME
Indexes

download_description attribute_group review


download_id INT(11) attribute_group_id INT(11) review_id INT(11)
language_id INT(11) sort_order INT(3) product_id INT(11)
name VARCHAR(64) Indexes customer_id INT(11)
Indexes author VARCHAR(64)
text TEXT
rating INT(1)
status TINYINT(1)
date_added DATETIME

date_modified DATETIME
Indexes

You might also like