From 6c77d1734e3b3470a8b7590c882ba4a744522aa8 Mon Sep 17 00:00:00 2001
From: Roeland Jago Douma <rullzer@owncloud.com>
Date: Tue, 15 Dec 2015 09:51:16 +0100
Subject: [PATCH] [Share 2.0] Update db structure to stay backwards compatible

---
 db_structure.xml | 12 ++++++------
 version.php      |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/db_structure.xml b/db_structure.xml
index be7208aa22e..e4bd8d998ee 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -684,7 +684,8 @@
 			</field>
 
 			<!-- Foreign Key users::uid -->
-            <!-- This is the initiator of the share -->
+            <!-- This is the owner of the share
+                 which does not have to be the initiator of the share -->
 			<field>
 				<name>uid_owner</name>
 				<type>text</type>
@@ -694,18 +695,17 @@
 			</field>
 
 			<!-- Foreign Key users::uid -->
-            <!-- This is the owner of the file, this can be
-                 different from the initiator of the share.
-                 The naming is subobtimal but prevents huge
-                 migration steps -->
+            <!-- This is the initiator of the share -->
 			<field>
-				<name>uid_fileowner</name>
+				<name>uid_initiator</name>
 				<type>text</type>
 				<default></default>
 				<notnull>false</notnull>
 				<length>64</length>
 			</field>
 
+
+
 			<!-- Foreign Key share::id or NULL -->
 			<field>
 				<name>parent</name>
diff --git a/version.php b/version.php
index ca90fdb3167..b8b1ad2b5fa 100644
--- a/version.php
+++ b/version.php
@@ -25,7 +25,7 @@
 // We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades
 // between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel
 // when updating major/minor version number.
-$OC_Version = array(9, 0, 0, 5);
+$OC_Version = array(9, 0, 0, 6);
 
 // The human readable string
 $OC_VersionString = '9.0 pre alpha';
-- 
GitLab