summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2015-01-23 21:53:21 +0000
committerRobin McCorkell <rmccorkell@karoshi.org.uk>2015-07-20 16:27:26 +0100
commitdf19cabb44f9106484290a269ef6d4cb07b059d7 (patch)
treef3246817578ed3fc91c1bb05051582ac4386defd /db_structure.xml
parent89d6439445da8e1cf133bc2e1b6db9709ce4af8b (diff)
downloadnextcloud-server-df19cabb44f9106484290a269ef6d4cb07b059d7.tar.gz
nextcloud-server-df19cabb44f9106484290a269ef6d4cb07b059d7.zip
Store storage availability in database
Storage status is saved in the database. Failed storages are rechecked every 10 minutes, while working storages are rechecked every request. Using the files_external app will recheck all external storages when the settings page is viewed, or whenever an external storage is saved.
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/db_structure.xml b/db_structure.xml
index 6d1cf6973c5..870c0ab018d 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -102,6 +102,18 @@
<length>4</length>
</field>
+ <field>
+ <name>available</name>
+ <type>boolean</type>
+ <default>true</default>
+ <notnull>true</notnull>
+ </field>
+
+ <field>
+ <name>last_checked</name>
+ <type>integer</type>
+ </field>
+
<index>
<name>storages_id_index</name>
<unique>true</unique>