[Pkg-owncloud-commits] [owncloud] 174/239: db-doc: filecache description
David Prévot
taffit at moszumanska.debian.org
Fri Nov 29 01:32:34 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 421a1e69dc61924a3bcfc7302c387c7ed34eac8e
Author: Andreas Fischer <bantu at owncloud.com>
Date: Tue Nov 26 20:27:18 2013 +0100
db-doc: filecache description
---
db_structure.xml | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/db_structure.xml b/db_structure.xml
index ef161de..ba8acab 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -210,7 +210,16 @@
</table>
<table>
-
+ <!--
+ Main file table containing one row for each directory and file.
+ - Assigns a unique integer fileid to each file (and directory)
+ - Assigns an etag to each file (and directory)
+ - Caches various file/dir properties such as:
+ - path (filename, e.g. files/combinatoricslib-2.0_doc.zip)
+ - path_hash = md5(path)
+ - name (basename, e.g. combinatoricslib-2.0_doc.zip)
+ - size (for directories this is the sum of all contained file sizes)
+ -->
<name>*dbprefix*filecache</name>
<declaration>
@@ -224,6 +233,7 @@
<length>4</length>
</field>
+ <!-- Foreign Key *dbprefix*storages::numeric_id -->
<field>
<name>storage</name>
<type>integer</type>
@@ -248,6 +258,7 @@
<length>32</length>
</field>
+ <!-- Foreign Key *dbprefix*filecache::fileid -->
<field>
<name>parent</name>
<type>integer</type>
@@ -264,6 +275,7 @@
<length>250</length>
</field>
+ <!-- Foreign Key *dbprefix*mimetypes::id -->
<field>
<name>mimetype</name>
<type>integer</type>
@@ -272,6 +284,7 @@
<length>4</length>
</field>
+ <!-- Foreign Key *dbprefix*mimetypes::id -->
<field>
<name>mimepart</name>
<type>integer</type>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list