aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-25 15:26:27 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-25 15:26:27 +0100
commit67766dc725fb6515ae06ca97b753996ac53856a8 (patch)
tree425f0f1d78482ef175a6496d97fc78423fce4670
parent9ec2f8886e129d87f58baacfbb625d8ef9d4e58c (diff)
parent5e8256beb87c8a8611a457a81c58f83995f98a4d (diff)
downloadnextcloud-server-67766dc725fb6515ae06ca97b753996ac53856a8.tar.gz
nextcloud-server-67766dc725fb6515ae06ca97b753996ac53856a8.zip
Merge pull request #20703 from owncloud/share2.0_fileowner_column
[Sharing 2.0] Add a new db column for the file owner
-rw-r--r--db_structure.xml14
-rw-r--r--version.php2
2 files changed, 15 insertions, 1 deletions
diff --git a/db_structure.xml b/db_structure.xml
index d4e566d1d54..1b38a527a12 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -684,6 +684,7 @@
</field>
<!-- Foreign Key users::uid -->
+ <!-- This is the initiator of the share -->
<field>
<name>uid_owner</name>
<type>text</type>
@@ -692,6 +693,19 @@
<length>64</length>
</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 -->
+ <field>
+ <name>uid_fileowner</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 7f45f5899e1..50adcf5db60 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, 2);
+$OC_Version = array(9, 0, 0, 3);
// The human readable string
$OC_VersionString = '9.0 pre alpha';