summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
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>