diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-07-15 16:14:32 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-08-03 14:13:35 +0200 |
commit | 4ea7cbb0f5d97b0ae5fe8a6c3c43718d3fa5172e (patch) | |
tree | 2d447acabb50dda1156074793d6d8233b814d7ec /db_structure.xml | |
parent | a8552a1b24e7df8c4822b5b0dd7c690312ae810d (diff) | |
download | nextcloud-server-4ea7cbb0f5d97b0ae5fe8a6c3c43718d3fa5172e.tar.gz nextcloud-server-4ea7cbb0f5d97b0ae5fe8a6c3c43718d3fa5172e.zip |
Add database backend for high level locking
Diffstat (limited to 'db_structure.xml')
-rw-r--r-- | db_structure.xml | 39 |
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> |