fix: create scheduleUpdatedAt attribute on migration

This commit is contained in:
Torsten Dittmann 2022-09-14 10:21:32 +02:00
parent d0c3f52ab6
commit 9c59deca1d

View file

@ -761,6 +761,14 @@ class V15 extends Migration
$this->projectDB->deleteAttribute('functions', 'vars');
$this->createAttributeFromCollection($this->projectDB, 'functions', 'vars');
}
try {
/**
* Create 'scheduleUpdatedAt' attribute
*/
$this->createAttributeFromCollection($this->projectDB, $id, 'scheduleUpdatedAt');
} catch (\Throwable $th) {
Console::warning("'scheduleUpdatedAt' from {$id}: {$th->getMessage()}");
}
try {
/**
* Create 'enabled' attribute