From 5f69a7c5e5067b0210c4207b588629c25cd42e33 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sun, 17 Apr 2011 10:37:15 +0200 Subject: [PATCH] updated version of db_structure.xml --- db_structure.xml | 295 +++++++++++++++++++++++++++++++---------------- 1 file changed, 194 insertions(+), 101 deletions(-) diff --git a/db_structure.xml b/db_structure.xml index 936afa43290..144298c8b38 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -1,72 +1,115 @@ - *dbname* + owncloud true false - latin1 + utf8 - *dbprefix*privatedata - - - key - text - - true - 64 - - - app - text - - true - 64 - - - value - blob - 65532 - false - - - timestamp - timestamp - true - - - appkey - true - - key - ascending - - - app - ascending - - - + + appconfig + + + + + appid + text + + true + 255 + + + + key + text + + true + 255 + + + + value + text + + true + 255 + + + +
- *dbprefix*groups + foldersize - group_id + path + text + + true + 512 + + + + size integer - 0 + true - 1 4 + + foldersize_pKey + true + + path + ascending + + + + + +
+ + + + group_user + + + + + gid + text + + true + 64 + + + + uid + text + + true + 64 + + + + +
+ + + + groups + + + - group_name + gid text true @@ -74,10 +117,10 @@ - group_name - true + groups_pKey + true - group_name + gid ascending @@ -88,7 +131,7 @@
- *dbprefix*locks + locks @@ -164,6 +207,14 @@ 4 + + path + + path + ascending + + + path_2 @@ -216,7 +267,7 @@
- *dbprefix*log + log @@ -226,15 +277,23 @@ 0 true 1 + true 4 timestamp - integer + timestamp + 0000-00-00 00:00:00 + true + + + + appid + text true - 4 + 255 @@ -242,23 +301,63 @@ text true - 250 + 255 - type - integer + action + text true - 4 + 255 + + + + info + clob + true + + + + +
+ + + + preferences + + + + + userid + text + + true + 255 - message + appid text true - 250 + 255 + + + + key + text + + true + 255 + + + + value + text + + true + 255 @@ -267,7 +366,7 @@
- *dbprefix*properties + properties @@ -332,56 +431,62 @@
- *dbprefix*user_group + publiclink - user_group_id - integer - 0 + token + text + true - 1 - 4 + 40 - user_id - integer + path + text true - 4 + 128 - group_id - integer + user + text true - 4 + 64 + + expire_time + timestamp + 1970-01-01 00:00:00 + true + + + + token + true + + token + ascending + + +
- *dbprefix*users + users - user_id - integer - 0 - true - 1 - 4 - - - - user_name + uid text true @@ -389,30 +494,18 @@ - user_name_clean + password text true - 64 - - - - user_password - text - - true - 340 + 255 - user_name - true - - user_name - ascending - + users_pKey + true - user_name_clean + uid ascending -- 2.39.5