From b1a6acde30232367f4e8d66372fedfd1065c5d5a Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Mon, 17 Sep 2012 16:03:15 +0200 Subject: Added separate table for OC_VCategories and category/object (event/contact etc.) relations. --- db_structure.xml | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 138 insertions(+) (limited to 'db_structure.xml') diff --git a/db_structure.xml b/db_structure.xml index 2256dff943c..5576db1ab85 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -661,4 +661,142 @@ + + + *dbprefix*vcategory + + + + + id + integer + 0 + true + 1 + true + 4 + + + + uid + text + + true + 64 + + + + type + text + + true + 64 + + + + category + text + + true + 255 + + + + uid_index + + uid + ascending + + + + + type_index + + type + ascending + + + + + category_index + + category + ascending + + + + + uid_type_category_index + true + + uid + ascending + + + type + ascending + + + category + ascending + + + + +
+ + + + *dbprefix*vcategory_to_object + + + + + objid + integer + 0 + true + true + 4 + + + + categoryid + integer + 0 + true + true + 4 + + + + type + text + + true + 64 + + + + true + true + category_object_index + + categoryid + ascending + + + objid + ascending + + + type + ascending + + + + + +
+ -- cgit v1.2.3 From 73c743076e64384ecf7892921e9cf96ce68abdca Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Fri, 19 Oct 2012 17:23:54 +0200 Subject: Remove index that might cause problems. --- db_structure.xml | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'db_structure.xml') diff --git a/db_structure.xml b/db_structure.xml index 64abdff3689..fe580c4a2f0 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -735,23 +735,6 @@ - - uid_type_category_index - true - - uid - ascending - - - type - ascending - - - category - ascending - - - -- cgit v1.2.3 From fc6d1bf5006f6630f342eed92cad25167a5d4d8e Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Fri, 19 Oct 2012 19:42:59 +0200 Subject: Clean indentation. --- db_structure.xml | 240 +++++++++++++++++++++++++++---------------------------- 1 file changed, 120 insertions(+), 120 deletions(-) (limited to 'db_structure.xml') diff --git a/db_structure.xml b/db_structure.xml index fe580c4a2f0..851c8aa998d 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -671,125 +671,125 @@ - - - *dbprefix*vcategory - - - - - id - integer - 0 - true - 1 - true - 4 - - - - uid - text - - true - 64 - - - - type - text - - true - 64 - - - - category - text - - true - 255 - - - - uid_index - - uid - ascending - - - - - type_index - - type - ascending - - - - - category_index - - category - ascending - - - - -
- - - - *dbprefix*vcategory_to_object - - - - - objid - integer - 0 - true - true - 4 - - - - categoryid - integer - 0 - true - true - 4 - - - - type - text - - true - 64 - - - - true - true - category_object_index - - categoryid - ascending - - - objid - ascending - - - type - ascending - - - - - -
+ + + *dbprefix*vcategory + + + + + id + integer + 0 + true + 1 + true + 4 + + + + uid + text + + true + 64 + + + + type + text + + true + 64 + + + + category + text + + true + 255 + + + + uid_index + + uid + ascending + + + + + type_index + + type + ascending + + + + + category_index + + category + ascending + + + + +
+ + + + *dbprefix*vcategory_to_object + + + + + objid + integer + 0 + true + true + 4 + + + + categoryid + integer + 0 + true + true + 4 + + + + type + text + + true + 64 + + + + true + true + category_object_index + + categoryid + ascending + + + objid + ascending + + + type + ascending + + + + + +
-- cgit v1.2.3