summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing_log/appinfo/database.xml
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-05-30 17:46:49 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-14 17:44:41 +0200
commit4510571aa15d18d958947efd380b211a9a12aaaa (patch)
tree4e9d75b41730a4845cdb529a86f391887bbca549 /apps/files_sharing_log/appinfo/database.xml
parent12b34d2dda6569f0f06ead29488c19ec8b9a5a8c (diff)
downloadnextcloud-server-4510571aa15d18d958947efd380b211a9a12aaaa.tar.gz
nextcloud-server-4510571aa15d18d958947efd380b211a9a12aaaa.zip
Add app for logging access to shared files
Diffstat (limited to 'apps/files_sharing_log/appinfo/database.xml')
-rw-r--r--apps/files_sharing_log/appinfo/database.xml44
1 files changed, 44 insertions, 0 deletions
diff --git a/apps/files_sharing_log/appinfo/database.xml b/apps/files_sharing_log/appinfo/database.xml
new file mode 100644
index 00000000000..92e5f0125bd
--- /dev/null
+++ b/apps/files_sharing_log/appinfo/database.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<database>
+ <name>*dbname*</name>
+ <create>true</create>
+ <overwrite>false</overwrite>
+ <charset>latin1</charset>
+ <table>
+ <name>*dbprefix*sharing_log</name>
+ <declaration>
+ <field>
+ <name>user_id</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+ <field>
+ <name>source</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>128</length>
+ </field>
+ <field>
+ <name>uid_who</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+ <field>
+ <name>when</name>
+ <type>integer</type>
+ <default></default>
+ <notnull>false</notnull>
+ <unsigned>true</unsigned>
+ <length>4</length>
+ </field>
+ <field>
+ <name>mode</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>4</length>
+ </field>
+ </declaration>
+ </table>
+</database>