summaryrefslogtreecommitdiffstats
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
parent3aecfda0c052c1b7f7a4e3459f339a27298e32a7 (diff)
downloadnextcloud-server-db0ea9780b3056a9161205588e55c4808648ec0a.tar.gz
nextcloud-server-db0ea9780b3056a9161205588e55c4808648ec0a.zip
Add database table for backgroundjob
-rw-r--r--db_structure.xml30
-rwxr-xr-xlib/util.php2
2 files changed, 16 insertions, 16 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>
diff --git a/lib/util.php b/lib/util.php
index 38453c1ce92..b3fab5041f2 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -75,7 +75,7 @@ class OC_Util {
public static function getVersion() {
// hint: We only can count up. Reset minor/patchlevel when
// updating major/minor version number.
- return array(5, 80, 02);
+ return array(5, 80, 03);
}
/**