summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-01-07 10:28:37 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-01-07 10:28:37 -0500
commit6801f82d090195573972e15d3cda96b0fde24460 (patch)
treec441d8ca8f284fd0b0f2d16c822f6256274eeffc /db_structure.xml
parentd0a50fae8317e4b4871027ee4b2940ab5443961f (diff)
parentd0377b1951a156e218ca0200340e2bcfb51ac0c8 (diff)
downloadnextcloud-server-6801f82d090195573972e15d3cda96b0fde24460.tar.gz
nextcloud-server-6801f82d090195573972e15d3cda96b0fde24460.zip
Merge branch 'filesystem' into filesystem-etags
Conflicts: lib/files/cache/cache.php
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml48
1 files changed, 42 insertions, 6 deletions
diff --git a/db_structure.xml b/db_structure.xml
index 527b53040da..0116581be12 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -96,6 +96,42 @@
<table>
+ <name>*dbprefix*mimetypes</name>
+
+ <declaration>
+
+ <field>
+ <name>id</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <autoincrement>1</autoincrement>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>mimetype</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+
+ <index>
+ <name>mimetype_id_index</name>
+ <unique>true</unique>
+ <field>
+ <name>mimetype</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
+ </declaration>
+
+ </table>
+
+ <table>
+
<name>*dbprefix*filecache</name>
<declaration>
@@ -151,18 +187,18 @@
<field>
<name>mimetype</name>
- <type>text</type>
+ <type>integer</type>
<default></default>
<notnull>true</notnull>
- <length>64</length>
+ <length>4</length>
</field>
<field>
<name>mimepart</name>
- <type>text</type>
+ <type>integer</type>
<default></default>
<notnull>true</notnull>
- <length>32</length>
+ <length>4</length>
</field>
<field>
@@ -198,7 +234,7 @@
</field>
<index>
- <name>storage_path_hash</name>
+ <name>fs_storage_path_hash</name>
<unique>true</unique>
<field>
<name>storage</name>
@@ -211,7 +247,7 @@
</index>
<index>
- <name>parent_name_hash</name>
+ <name>fs_parent_name_hash</name>
<field>
<name>parent</name>
<sorting>ascending</sorting>