Index: branches/version-2_5-dev/html/install/sql/create_view.sql
===================================================================
--- branches/version-2_5-dev/html/install/sql/create_view.sql	(revision 18819)
+++ branches/version-2_5-dev/html/install/sql/create_view.sql	(revision 18824)
@@ -102,23 +102,2 @@
             ON T2.category_id = dtb_category.category_id
 ;
-CREATE VIEW vw_download_class as
-        SELECT
-            pc.product_id AS product_id,
-            pc.classcategory_id1 AS classcategory_id1,
-            pc.classcategory_id2 AS classcategory_id2,
-            pc.down_realfilename AS down_realfilename,
-            pc.down_filename AS down_filename,
-            o.order_id AS order_id,
-            o.customer_id AS customer_id,
-            o.payment_date AS payment_date,
-            o.status AS status
-        FROM
-            dtb_products_class pc,
-            dtb_order_detail od,
-            dtb_order o
-        WHERE
-            pc.product_id = od.product_id AND
-            pc.classcategory_id1 = od.classcategory_id1 AND
-            pc.classcategory_id2 = od.classcategory_id2 AND
-            od.order_id = o.order_id
-;
Index: branches/version-2_5-dev/html/install/sql/create_table_mysql.sql
===================================================================
--- branches/version-2_5-dev/html/install/sql/create_table_mysql.sql	(revision 18820)
+++ branches/version-2_5-dev/html/install/sql/create_table_mysql.sql	(revision 18824)
@@ -765,6 +765,5 @@
     order_id int NOT NULL,
     product_id int NOT NULL,
-    classcategory_id1 int NOT NULL,
-    classcategory_id2 int NOT NULL,
+    product_class_id int NOT NULL,
     product_name text NOT NULL,
     product_code text,
Index: branches/version-2_5-dev/html/install/sql/create_table_pgsql.sql
===================================================================
--- branches/version-2_5-dev/html/install/sql/create_table_pgsql.sql	(revision 18820)
+++ branches/version-2_5-dev/html/install/sql/create_table_pgsql.sql	(revision 18824)
@@ -767,6 +767,5 @@
     order_id int NOT NULL,
     product_id int NOT NULL,
-    classcategory_id1 int NOT NULL,
-    classcategory_id2 int NOT NULL,
+    product_class_id int NOT NULL,
     product_name text NOT NULL,
     product_code text,
