added reverted attribute to DiffTaskResult

This commit is contained in:
Jonathan Treffler 2024-01-24 20:22:02 +01:00 committed by root
parent 4870225d66
commit 5b6470a53b
3 changed files with 14 additions and 1 deletions

View file

@ -94,6 +94,10 @@
'default' => 0
]);
$table->addColumn('reverted', 'boolean', [
'default' => false,
]);
$table->setPrimaryKey(['id']);
$table->addIndex(['task_id'], 'taskid_index');
$table->addForeignKeyConstraint($schema->getTable(self::TASKS_TABLE), ['task_id'], ['id'], ['onDelete' => 'CASCADE'], 'results_taskid_fk');