|
|
|
@ -53,19 +53,27 @@ |
|
|
|
|
|
|
|
|
|
<table> |
|
|
|
|
|
|
|
|
|
<name>*dbprefix*fscache</name> |
|
|
|
|
<name>*dbprefix*filecache</name> |
|
|
|
|
|
|
|
|
|
<declaration> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>id</name> |
|
|
|
|
<autoincrement>1</autoincrement> |
|
|
|
|
<name>fileid</name> |
|
|
|
|
<type>integer</type> |
|
|
|
|
<default>0</default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<autoincrement>1</autoincrement> |
|
|
|
|
<length>4</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>storage</name> |
|
|
|
|
<type>text</type> |
|
|
|
|
<default></default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>64</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>path</name> |
|
|
|
|
<type>text</type> |
|
|
|
@ -85,49 +93,17 @@ |
|
|
|
|
<field> |
|
|
|
|
<name>parent</name> |
|
|
|
|
<type>integer</type> |
|
|
|
|
<default>0</default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>8</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>name</name> |
|
|
|
|
<type>text</type> |
|
|
|
|
<default></default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>300</length> |
|
|
|
|
<length>4</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>user</name> |
|
|
|
|
<name>name</name> |
|
|
|
|
<type>text</type> |
|
|
|
|
<default></default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>64</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>size</name> |
|
|
|
|
<type>integer</type> |
|
|
|
|
<default>0</default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>8</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>ctime</name> |
|
|
|
|
<type>integer</type> |
|
|
|
|
<default>0</default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>8</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>mtime</name> |
|
|
|
|
<type>integer</type> |
|
|
|
|
<default>0</default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>8</length> |
|
|
|
|
<length>250</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
@ -135,7 +111,7 @@ |
|
|
|
|
<type>text</type> |
|
|
|
|
<default></default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>96</length> |
|
|
|
|
<length>64</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
@ -147,55 +123,45 @@ |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>encrypted</name> |
|
|
|
|
<name>size</name> |
|
|
|
|
<type>integer</type> |
|
|
|
|
<default>0</default> |
|
|
|
|
<default></default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>1</length> |
|
|
|
|
<length>4</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>versioned</name> |
|
|
|
|
<name>mtime</name> |
|
|
|
|
<type>integer</type> |
|
|
|
|
<default>0</default> |
|
|
|
|
<default></default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>1</length> |
|
|
|
|
<length>4</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<field> |
|
|
|
|
<name>writable</name> |
|
|
|
|
<name>encrypted</name> |
|
|
|
|
<type>integer</type> |
|
|
|
|
<default>0</default> |
|
|
|
|
<notnull>true</notnull> |
|
|
|
|
<length>1</length> |
|
|
|
|
<length>4</length> |
|
|
|
|
</field> |
|
|
|
|
|
|
|
|
|
<index> |
|
|
|
|
<name>fscache_path_hash_index</name> |
|
|
|
|
<field> |
|
|
|
|
<name>path_hash</name> |
|
|
|
|
<sorting>ascending</sorting> |
|
|
|
|
</field> |
|
|
|
|
</index> |
|
|
|
|
|
|
|
|
|
<index> |
|
|
|
|
<name>parent_index</name> |
|
|
|
|
<name>storage_path_hash</name> |
|
|
|
|
<unique>true</unique> |
|
|
|
|
<field> |
|
|
|
|
<name>parent</name> |
|
|
|
|
<name>storage</name> |
|
|
|
|
<sorting>ascending</sorting> |
|
|
|
|
</field> |
|
|
|
|
</index> |
|
|
|
|
|
|
|
|
|
<index> |
|
|
|
|
<name>name_index</name> |
|
|
|
|
<field> |
|
|
|
|
<name>name</name> |
|
|
|
|
<name>path_hash</name> |
|
|
|
|
<sorting>ascending</sorting> |
|
|
|
|
</field> |
|
|
|
|
</index> |
|
|
|
|
|
|
|
|
|
<index> |
|
|
|
|
<name>parent_name_index</name> |
|
|
|
|
<name>parent_name_hash</name> |
|
|
|
|
<unique>true</unique> |
|
|
|
|
<field> |
|
|
|
|
<name>parent</name> |
|
|
|
|
<sorting>ascending</sorting> |
|
|
|
|