mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
fix: create scheduleUpdatedAt attribute on migration
This commit is contained in:
parent
d0c3f52ab6
commit
9c59deca1d
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue