summaryrefslogtreecommitdiffstats
path: root/db_structure.xml
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-04-21 00:04:58 +0200
committerRobin Appelman <icewind@owncloud.com>2013-04-21 00:04:58 +0200
commitdb0ea9780b3056a9161205588e55c4808648ec0a (patch)
treee41f5d76daef33555775da4cf2b7374cf93130c9 /db_structure.xml
parent3aecfda0c052c1b7f7a4e3459f339a27298e32a7 (diff)
downloadnextcloud-server-db0ea9780b3056a9161205588e55c4808648ec0a.tar.gz
nextcloud-server-db0ea9780b3056a9161205588e55c4808648ec0a.zip
Add database table for backgroundjob
Diffstat (limited to 'db_structure.xml')
-rw-r--r--db_structure.xml30
1 files changed, 15 insertions, 15 deletions
diff --git a/db_structure.xml b/db_structure.xml
index dce90697b1c..3372be9f69f 100644
--- a/db_structure.xml
+++ b/db_structure.xml
@@ -843,7 +843,7 @@
<table>
- <name>*dbprefix*queuedtasks</name>
+ <name>*dbprefix*jobs</name>
<declaration>
@@ -858,35 +858,35 @@
</field>
<field>
- <name>app</name>
+ <name>class</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
- <length>255</length>
+ <length>256</length>
</field>
<field>
- <name>klass</name>
+ <name>argument</name>
<type>text</type>
<default></default>
<notnull>true</notnull>
- <length>255</length>
+ <length>256</length>
</field>
<field>
- <name>method</name>
- <type>text</type>
+ <name>last_run</name>
+ <type>timestamp</type>
<default></default>
- <notnull>true</notnull>
- <length>255</length>
+ <notnull>false</notnull>
</field>
- <field>
- <name>parameters</name>
- <type>text</type>
- <notnull>true</notnull>
- <length>255</length>
- </field>
+ <index>
+ <name>job_class_index</name>
+ <field>
+ <name>class</name>
+ <sorting>ascending</sorting>
+ </field>
+ </index>
</declaration>