summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-07 01:40:09 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-07 02:09:21 +0100
commitd0377b1951a156e218ca0200340e2bcfb51ac0c8 (patch)
tree5e3c83bc72cf8a9df7edf00dfaf7e8de868b75f4 /db_structure.xml
parentad3badeabff9dde839827558c281a691c611cf87 (diff)
downloadnextcloud-server-d0377b1951a156e218ca0200340e2bcfb51ac0c8.tar.gz
nextcloud-server-d0377b1951a156e218ca0200340e2bcfb51ac0c8.zip
Cache: normalize mimetypes
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml44
1 files changed, 40 insertions, 4 deletions
diff --git a/db_structure.xml b/db_structure.xml
index e47cf3c6292..3022983473b 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>