summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/appinfo
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-21 12:37:13 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-21 12:37:13 +0100
commit2436d01985311b3cd14c2f0dec745081ae7d3507 (patch)
treed36220b44c17a6247856721869ad4d36ad6b54eb /apps/files_trashbin/appinfo
parentc24ec867f9e428dd90c021736c2d92c0516e3526 (diff)
downloadnextcloud-server-2436d01985311b3cd14c2f0dec745081ae7d3507.tar.gz
nextcloud-server-2436d01985311b3cd14c2f0dec745081ae7d3507.zip
calculate trashbin size per user
Diffstat (limited to 'apps/files_trashbin/appinfo')
-rw-r--r--apps/files_trashbin/appinfo/database.xml26
-rw-r--r--apps/files_trashbin/appinfo/version2
2 files changed, 27 insertions, 1 deletions
diff --git a/apps/files_trashbin/appinfo/database.xml b/apps/files_trashbin/appinfo/database.xml
index 1144a1c9a97..6f2a27866ff 100644
--- a/apps/files_trashbin/appinfo/database.xml
+++ b/apps/files_trashbin/appinfo/database.xml
@@ -89,4 +89,30 @@
</table>
+ <table>
+
+ <name>*dbprefix*files_trashsize</name>
+
+ <declaration>
+
+ <field>
+ <name>user</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>50</length>
+ </field>
+
+ <field>
+ <name>size</name>
+ <type>text</type>
+ <default></default>
+ <notnull>true</notnull>
+ <length>50</length>
+ </field>
+
+ </declaration>
+
+ </table>
+
</database>
diff --git a/apps/files_trashbin/appinfo/version b/apps/files_trashbin/appinfo/version
index 49d59571fbf..be586341736 100644
--- a/apps/files_trashbin/appinfo/version
+++ b/apps/files_trashbin/appinfo/version
@@ -1 +1 @@
-0.1
+0.3