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-08-03 16:46:19 +0300
committerRobin Appelman <icewind@owncloud.com>2015-08-03 16:46:19 +0300
commit132a564a217d38a9ac66e26a00d0c1181bd1257a (patch)
tree747b585c50ab0c2effb096491749bf0cb6dffee1 /db_structure.xml
parentc39ded21d2a2388d82e31448639517af0e2a2637 (diff)
rename path field to key
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/db_structure.xml b/db_structure.xml
index 5c2b26e5f15..5633d1537c0 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -1183,7 +1183,7 @@
<table>
<!--
- Table for storing high-level locking
+ Table for storing transactional file locking
-->
<name>*dbprefix*file_locks</name>
@@ -1208,7 +1208,7 @@
</field>
<field>
- <name>path</name>
+ <name>key</name>
<type>text</type>
<notnull>true</notnull>
<length>64</length>
@@ -1217,6 +1217,7 @@
<field>
<name>ttl</name>
<type>integer</type>
+ <default>-1</default>
<notnull>true</notnull>
<length>4</length>
</field>
@@ -1233,9 +1234,9 @@
<index>
<unique>true</unique>
- <name>lock_path_index</name>
+ <name>lock_key_index</name>
<field>
- <name>path</name>
+ <name>key</name>
<sorting>ascending</sorting>
</field>
</index>