summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-15 09:51:16 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-01-06 14:53:43 +0100
commit6c77d1734e3b3470a8b7590c882ba4a744522aa8 (patch)
tree7a304513b3dffb79377f361ac0cb492ba944e53b /db_structure.xml
parent12b0e9e3bdd6de2d35165a52072d534c7c2f5fc2 (diff)
downloadnextcloud-server-6c77d1734e3b3470a8b7590c882ba4a744522aa8.tar.gz
nextcloud-server-6c77d1734e3b3470a8b7590c882ba4a744522aa8.zip
[Share 2.0] Update db structure to stay backwards compatible
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml12
1 files changed, 6 insertions, 6 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>