From 6f5c29ad3f0fae60e287db00e1ce57a8a5419f4f Mon Sep 17 00:00:00 2001 From: fre2mansur Date: Thu, 4 Oct 2018 10:39:42 +0530 Subject: [PATCH 1/2] extra column added for item type Need extra column 'item_type' for the t_item table it will make extend the special and simple items without creating the table for it. we can use the item as a blog, or custom post page and much more. --- oc-includes/osclass/installer/struct.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/oc-includes/osclass/installer/struct.sql b/oc-includes/osclass/installer/struct.sql index b9b2ad703f..c00464d4dc 100755 --- a/oc-includes/osclass/installer/struct.sql +++ b/oc-includes/osclass/installer/struct.sql @@ -215,6 +215,7 @@ CREATE TABLE /*TABLE_PREFIX*/t_item ( dt_mod_date DATETIME NULL, f_price FLOAT NULL, i_price BIGINT(20) NULL, + i_type VARCHAR(40) NULL, fk_c_currency_code CHAR(3) NULL, s_contact_name VARCHAR(100) NULL, s_contact_email VARCHAR(140) NOT NULL, From 076a4ac8f834a0f84c7b89e7a9699da68b7e3b8c Mon Sep 17 00:00:00 2001 From: fre2mansur Date: Fri, 5 Oct 2018 22:29:05 +0530 Subject: [PATCH 2/2] uodated t_item to s_item --- oc-includes/osclass/installer/struct.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oc-includes/osclass/installer/struct.sql b/oc-includes/osclass/installer/struct.sql index c00464d4dc..155883071b 100755 --- a/oc-includes/osclass/installer/struct.sql +++ b/oc-includes/osclass/installer/struct.sql @@ -215,7 +215,7 @@ CREATE TABLE /*TABLE_PREFIX*/t_item ( dt_mod_date DATETIME NULL, f_price FLOAT NULL, i_price BIGINT(20) NULL, - i_type VARCHAR(40) NULL, + s_type VARCHAR(40) NULL, fk_c_currency_code CHAR(3) NULL, s_contact_name VARCHAR(100) NULL, s_contact_email VARCHAR(140) NOT NULL,