summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-02-15 14:52:41 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-02-15 14:52:41 +0100
commit7e4c3b577cb3442dfa948dcf37599761823e1059 (patch)
treee232d2634620a8a6f38db7124af64f2d13abfa0d
parent46b39c3465e2db9ba26b23d8d0dfca6cc670aaea (diff)
downloadnextcloud-server-7e4c3b577cb3442dfa948dcf37599761823e1059.tar.gz
nextcloud-server-7e4c3b577cb3442dfa948dcf37599761823e1059.zip
Add index names so Doctrine does not use a too long random string
-rw-r--r--apps/files_external/appinfo/database.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/files_external/appinfo/database.xml b/apps/files_external/appinfo/database.xml
index 2c3615a4d4c..54ee642ead6 100644
--- a/apps/files_external/appinfo/database.xml
+++ b/apps/files_external/appinfo/database.xml
@@ -79,13 +79,16 @@
<type>text</type>
<length>64</length>
</field>
+
<index>
+ <name>applicable_mount</name>
<field>
<name>mount_id</name>
<sorting>ascending</sorting>
</field>
</index>
<index>
+ <name>applicable_type_value</name>
<field>
<name>type</name>
<sorting>ascending</sorting>
@@ -96,6 +99,7 @@
</field>
</index>
<index>
+ <name>applicable_type_value_mount</name>
<unique>true</unique>
<field>
<name>type</name>
@@ -112,6 +116,7 @@
</index>
</declaration>
</table>
+
<table>
<name>*dbprefix*external_config</name>
<declaration>
@@ -144,12 +149,14 @@
</field>
<index>
+ <name>config_mount</name>
<field>
<name>mount_id</name>
<sorting>ascending</sorting>
</field>
</index>
<index>
+ <name>config_mount_key</name>
<unique>true</unique>
<field>
<name>mount_id</name>
@@ -162,6 +169,7 @@
</index>
</declaration>
</table>
+
<table>
<name>*dbprefix*external_options</name>
<declaration>
@@ -194,6 +202,7 @@
</field>
<index>
+ <name>option_mount</name>
<field>
<name>mount_id</name>
<sorting>ascending</sorting>