diff options
Diffstat (limited to 'core/Migrations')
-rw-r--r-- | core/Migrations/Version28000Date20230616104802.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Migrations/Version28000Date20230616104802.php b/core/Migrations/Version28000Date20230616104802.php index 76d8173861f..ab7347608e2 100644 --- a/core/Migrations/Version28000Date20230616104802.php +++ b/core/Migrations/Version28000Date20230616104802.php @@ -78,9 +78,16 @@ class Version28000Date20230616104802 extends SimpleMigrationStep { 'length' => 32, 'default' => '', ]); + $table->addColumn('last_updated', 'integer', [ + 'notnull' => false, + 'length' => 4, + 'default' => 0, + 'unsigned' => true, + ]); $table->setPrimaryKey(['id'], 'llm_tasks_id_index'); $table->addUniqueIndex(['status', 'type'], 'llm_tasks_status_type'); + $table->addIndex(['last_updated'], 'llm_tasks_updated'); } return $schema; |