From 6134e554f2306c5309a793d4d3149a0f9b05ea5f Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 2 Oct 2012 23:46:35 +0200 Subject: new filecache table --- db_structure.xml | 92 ++++++++++++++++++-------------------------------------- lib/util.php | 2 +- 2 files changed, 30 insertions(+), 64 deletions(-) diff --git a/db_structure.xml b/db_structure.xml index 99a30cb6137..8bbc6e5cc6b 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -53,19 +53,27 @@ - *dbprefix*fscache + *dbprefix*filecache - id - 1 + fileid integer 0 true + 1 4 + + storage + text + + true + 64 + + path text @@ -85,49 +93,17 @@ parent integer - 0 - true - 8 - - - - name - text true - 300 + 4 - user + name text true - 64 - - - - size - integer - 0 - true - 8 - - - - ctime - integer - 0 - true - 8 - - - - mtime - integer - 0 - true - 8 + 250 @@ -135,7 +111,7 @@ text true - 96 + 64 @@ -147,55 +123,45 @@ - encrypted + size integer - 0 + true - 1 + 4 - versioned + mtime integer - 0 + true - 1 + 4 - writable + encrypted integer 0 true - 1 + 4 - fscache_path_hash_index - - path_hash - ascending - - - - - parent_index + storage_path_hash + true - parent + storage ascending - - - - name_index - name + path_hash ascending - parent_name_index + parent_name_hash + true parent ascending diff --git a/lib/util.php b/lib/util.php index 31dd376b9cc..264d61319dd 100755 --- a/lib/util.php +++ b/lib/util.php @@ -81,7 +81,7 @@ class OC_Util { */ public static function getVersion() { // hint: We only can count up. So the internal version number of ownCloud 4.5 will be 4.9.0. This is not visible to the user - return array(4,86,11); + return array(4,86,12); } /** -- cgit v1.2.3