summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Domanski <kdomanski@kdemail.net>2011-06-18 23:57:03 +0200
committerKamil Domanski <kdomanski@kdemail.net>2011-06-18 23:57:03 +0200
commit97ab331b2a41777b64881118819902183e5f0b98 (patch)
tree405b91eeb8fd1a63cc568f269493c30e46bcf643
parentbe3ee0318942f092839b3de04f193a04e397116c (diff)
downloadnextcloud-server-97ab331b2a41777b64881118819902183e5f0b98.tar.gz
nextcloud-server-97ab331b2a41777b64881118819902183e5f0b98.zip
change db index names to avoid collisions
-rw-r--r--apps/files_publiclink/appinfo/database.xml2
-rw-r--r--db_structure.xml10
2 files changed, 6 insertions, 6 deletions
diff --git a/apps/files_publiclink/appinfo/database.xml b/apps/files_publiclink/appinfo/database.xml
index de63b03f445..4fe6be47d8d 100644
--- a/apps/files_publiclink/appinfo/database.xml
+++ b/apps/files_publiclink/appinfo/database.xml
@@ -35,7 +35,7 @@
<notnull>true</notnull>
</field>
<index>
- <name>token</name>
+ <name>a_files_publiclink_token</name>
<unique>true</unique>
<field>
<name>token</name>
diff --git a/db_structure.xml b/db_structure.xml
index 599352c2a8d..19cdccef8a4 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -208,7 +208,7 @@
</field>
<index>
- <name>path</name>
+ <name>locks_path</name>
<field>
<name>path</name>
<sorting>ascending</sorting>
@@ -216,7 +216,7 @@
</index>
<index>
- <name>path_2</name>
+ <name>locks_path_2</name>
<field>
<name>path</name>
<sorting>ascending</sorting>
@@ -224,7 +224,7 @@
</index>
<index>
- <name>path_3</name>
+ <name>locks_path_3</name>
<field>
<name>path</name>
<sorting>ascending</sorting>
@@ -236,7 +236,7 @@
</index>
<index>
- <name>expires</name>
+ <name>locks_expires</name>
<field>
<name>expires</name>
<sorting>ascending</sorting>
@@ -253,7 +253,7 @@
</index>
<index>
- <name>token</name>
+ <name>locks_token</name>
<unique>true</unique>
<field>
<name>token</name>