From 97ab331b2a41777b64881118819902183e5f0b98 Mon Sep 17 00:00:00 2001
From: Kamil Domanski <kdomanski@kdemail.net>
Date: Sat, 18 Jun 2011 23:57:03 +0200
Subject: [PATCH] change db index names to avoid collisions

---
 apps/files_publiclink/appinfo/database.xml |  2 +-
 db_structure.xml                           | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/apps/files_publiclink/appinfo/database.xml b/apps/files_publiclink/appinfo/database.xml
index de63b03f44..4fe6be47d8 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 599352c2a8..19cdccef8a 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>
-- 
GitLab