Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-07-15 17:14:32 +0300
committerRobin Appelman <icewind@owncloud.com>2015-08-03 15:13:35 +0300
commit4ea7cbb0f5d97b0ae5fe8a6c3c43718d3fa5172e (patch)
tree2d447acabb50dda1156074793d6d8233b814d7ec /db_structure.xml
parenta8552a1b24e7df8c4822b5b0dd7c690312ae810d (diff)
Add database backend for high level locking
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index 6d1cf6973c5..95acefcfaee 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -1180,5 +1180,44 @@
</table>
+ <table>
+
+ <!--
+ Table for storing high-level locking
+ -->
+ <name>*dbprefix*locks</name>
+
+ <declaration>
+
+ <field>
+ <name>lock</name>
+ <type>integer</type>
+ <default>0</default>
+ <notnull>true</notnull>
+ <length>4</length>
+ </field>
+
+ <field>
+ <name>path</name>
+ <type>text</type>
+ <notnull>true</notnull>
+ <length>64</length>
+ </field>
+
+
+ <index>
+ <primary>true</primary>
+ <unique>true</unique>
+ <name>lock_path_index</name>
+ <field>
+ <name>path</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
+
+ </declaration>
+
+ </table>
+
</database>