diff --git a/db_structure.xml b/db_structure.xml index 936afa4329..144298c8b3 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -1,83 +1,73 @@ - *dbname* + owncloud true false - latin1 - - - *dbprefix*privatedata - - - key - text - - true - 64 - - - app - text - - true - 64 - - - value - blob - 65532 - false - - - timestamp - timestamp - true - - - appkey - true - - key - ascending - - - app - ascending - - - -
+ utf8 - *dbprefix*groups + appconfig - group_id - integer - 0 - true - 1 - 4 - - - - group_name + appid text true - 64 + 255 + + + + key + text + + true + 255 + + + + value + text + + true + 255 + + + + +
+ + + + foldersize + + + + + path + text + + true + 512 + + + + size + integer + + true + 4 - group_name - true + foldersize_pKey + true - group_name + path ascending @@ -88,7 +78,60 @@
- *dbprefix*locks + group_user + + + + + gid + text + + true + 64 + + + + uid + text + + true + 64 + + + + +
+ + + + groups + + + + + gid + text + + true + 64 + + + + groups_pKey + true + + gid + ascending + + + + + +
+ + + + 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,21 @@ text true - 250 + 255 - type - integer - - true - 4 - - - - message + action text true - 250 + 255 + + + + info + clob + true @@ -267,7 +324,49 @@
- *dbprefix*properties + preferences + + + + + userid + text + + true + 255 + + + + appid + text + + true + 255 + + + + key + text + + true + 255 + + + + value + text + + true + 255 + + + + +
+ + + + 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 + users_pKey + true - user_name - ascending - - - user_name_clean + uid ascending