Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-03-30 20:12:33 +0400
committerRobin Appelman <icewind@owncloud.com>2012-03-30 20:12:33 +0400
commit7552390031ee10ed5006ef927fa1f55cdd148554 (patch)
tree7f2ca16cead6cd992ea2444e54c2e609f5ca2d57 /db_structure.xml
parent523fdda39915dd49190727ac74458a28f2d00f10 (diff)
add path_hash to the filesystem cache
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml28
1 files changed, 22 insertions, 6 deletions
diff --git a/db_structure.xml b/db_structure.xml
index 5eef44d8e84..82d2a731d4c 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -65,6 +65,15 @@
</field>
<field>
+ <name>path_hash</name>
+ <type>text</type>
+ <default>
+ </default>
+ <notnull>true</notnull>
+ <length>32</length>
+ </field>
+
+ <field>
<name>parent</name>
<type>integer</type>
<default>
@@ -79,7 +88,7 @@
<default>
</default>
<notnull>true</notnull>
- <length>512</length>
+ <length>300</length>
</field>
<field>
@@ -159,14 +168,13 @@
<length>1</length>
</field>
- <!--<index>
- <name>fscache_path_index</name>
- <unique>true</unique>
+ <index>
+ <name>fscache_path_hash_index</name>
<field>
- <name>path</name>
+ <name>path_hash</name>
<sorting>ascending</sorting>
</field>
- </index>-->
+ </index>
<index>
<name>parent_index</name>
@@ -177,6 +185,14 @@
</index>
<index>
+ <name>name_index</name>
+ <field>
+ <name>name</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
+ <index>
<name>parent_name_index</name>
<field>
<name>parent</name>