summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-18 11:18:32 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-18 11:18:32 +0100
commit73d46afc3c5ef237cc8a5431aa1bef4686a7521b (patch)
treeb1fbcdf3e1556ade24e0a7fdcc051c1735f5bf3f /apps/files_external
parentbba8875fb5669dcf0d93033a63824e942a823622 (diff)
parentb14e8fa427c2204570879104feee3e20670787ac (diff)
downloadnextcloud-server-73d46afc3c5ef237cc8a5431aa1bef4686a7521b.tar.gz
nextcloud-server-73d46afc3c5ef237cc8a5431aa1bef4686a7521b.zip
Merge pull request #22399 from owncloud/issue-22394-index-names-for-oracle
Add index names so Doctrine does not use a too long random string
Diffstat (limited to 'apps/files_external')
-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>