summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-05-21 23:35:19 +0200
committerRobin Appelman <icewind@owncloud.com>2013-05-21 23:35:19 +0200
commit81fd1badc3feb72c3a4e597c670e8adcdca525da (patch)
treedda3deee50551ebdffa8a9021b528ac29fdbf369 /db_structure.xml
parentd7beac6d6f3ad588cee6c5ba8a2145b42fa184a2 (diff)
parentfb4d8ddf0a76da7e9f806b837f9cf23699671f75 (diff)
downloadnextcloud-server-81fd1badc3feb72c3a4e597c670e8adcdca525da.tar.gz
nextcloud-server-81fd1badc3feb72c3a4e597c670e8adcdca525da.zip
merge master into filecache_mtime
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml52
1 files changed, 51 insertions, 1 deletions
diff --git a/db_structure.xml b/db_structure.xml
index 37db7d05968..b96d4836419 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -37,6 +37,8 @@
<index>
<name>appconfig_appid_key_index</name>
+ <primary>true</primary>
+ <unique>true</unique>
<field>
<name>appid</name>
<sorting>ascending</sorting>
@@ -134,6 +136,7 @@
<index>
<name>file_map_lp_index</name>
+ <primary>true</primary>
<unique>true</unique>
<field>
<name>logic_path_hash</name>
@@ -387,6 +390,7 @@
<index>
<name>id_user_index</name>
<unique>true</unique>
+ <primary>true</primary>
<field>
<name>fileid</name>
<sorting>ascending</sorting>
@@ -423,6 +427,20 @@
<length>64</length>
</field>
+ <index>
+ <name>gu_gid_uid_index</name>
+ <primary>true</primary>
+ <unique>true</unique>
+ <field>
+ <name>gid</name>
+ <sorting>ascending</sorting>
+ </field>
+ <field>
+ <name>uid</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
</declaration>
</table>
@@ -456,6 +474,20 @@
</field>
</index>
+ <index>
+ <name>ga_gid_uid_index</name>
+ <primary>true</primary>
+ <unique>true</unique>
+ <field>
+ <name>gid</name>
+ <sorting>ascending</sorting>
+ </field>
+ <field>
+ <name>uid</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
</declaration>
</table>
@@ -604,6 +636,8 @@
<index>
<name>pref_userid_appid_key_index</name>
+ <primary>true</primary>
+ <unique>true</unique>
<field>
<name>userid</name>
<sorting>ascending</sorting>
@@ -629,6 +663,15 @@
<declaration>
<field>
+ <name>id</name>
+ <autoincrement>1</autoincrement>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>4</length>
+ </field>
+
+ <field>
<name>userid</name>
<type>text</type>
<default></default>
@@ -659,6 +702,14 @@
<length>255</length>
</field>
+ <index>
+ <name>property_index</name>
+ <field>
+ <name>userid</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
</declaration>
</table>
@@ -867,7 +918,6 @@
<name>displayname</name>
<type>text</type>
<default></default>
- <notnull>true</notnull>
<length>64</length>
</field>