Adjust execution duration to 0
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
958f7968e3
commit
d9bdb5b94b
|
@ -453,6 +453,12 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
|
||||||
]);
|
]);
|
||||||
$table->setPrimaryKey(['id']);
|
$table->setPrimaryKey(['id']);
|
||||||
$table->addIndex(['class'], 'job_class_index');
|
$table->addIndex(['class'], 'job_class_index');
|
||||||
|
} else {
|
||||||
|
$table = $schema->getTable('jobs');
|
||||||
|
$table->changeColumn('execution_duration', [
|
||||||
|
'notnull' => true,
|
||||||
|
'default' => 0,
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$schema->hasTable('users')) {
|
if (!$schema->hasTable('users')) {
|
||||||
|
|
Loading…
Reference in New Issue