From 5e8256beb87c8a8611a457a81c58f83995f98a4d Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 24 Nov 2015 12:13:19 +0100 Subject: [PATCH] [Sharing 2.0] Add a new db column for the file owner We need to store the owner of a file in the db to do efficient queries on the owner of a file. Without this we need to construct fill paths for each file id in the table and see who the owner of a file is. Which does not scale. --- db_structure.xml | 14 ++++++++++++++ version.php | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/db_structure.xml b/db_structure.xml index d4e566d1d5..1b38a527a1 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -684,6 +684,7 @@ + uid_owner text @@ -692,6 +693,19 @@ 64 + + + + uid_fileowner + text + + false + 64 + + parent diff --git a/version.php b/version.php index 7f45f5899e..50adcf5db6 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';