mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
PR review changes
This commit is contained in:
parent
ab55e6f511
commit
c42a2bc5b7
1 changed files with 27 additions and 29 deletions
|
|
@ -68,35 +68,6 @@ class V21 extends Migration
|
||||||
} catch (Throwable $th) {
|
} catch (Throwable $th) {
|
||||||
Console::warning("'accessedAt' from {$id}: {$th->getMessage()}");
|
Console::warning("'accessedAt' from {$id}: {$th->getMessage()}");
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
case 'executions':
|
|
||||||
try {
|
|
||||||
/**
|
|
||||||
* Create 'scheduledAt' attribute
|
|
||||||
*/
|
|
||||||
$this->createAttributeFromCollection($this->projectDB, $id, 'scheduledAt');
|
|
||||||
} catch (\Throwable $th) {
|
|
||||||
Console::warning("'scheduledAt' from {$id}: {$th->getMessage()}");
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
/**
|
|
||||||
* Create 'scheduleInternalId' attribute
|
|
||||||
*/
|
|
||||||
$this->createAttributeFromCollection($this->projectDB, $id, 'scheduleInternalId');
|
|
||||||
} catch (\Throwable $th) {
|
|
||||||
Console::warning("'scheduleInternalId' from {$id}: {$th->getMessage()}");
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
/**
|
|
||||||
* Create 'scheduleId' attribute
|
|
||||||
*/
|
|
||||||
$this->createAttributeFromCollection($this->projectDB, $id, 'scheduleId');
|
|
||||||
} catch (\Throwable $th) {
|
|
||||||
Console::warning("'scheduleId' from {$id}: {$th->getMessage()}");
|
|
||||||
}
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'schedules':
|
case 'schedules':
|
||||||
// Create data attribute
|
// Create data attribute
|
||||||
|
|
@ -145,6 +116,33 @@ class V21 extends Migration
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
Console::warning("'_key_deployment' from {$id}: {$th->getMessage()}");
|
Console::warning("'_key_deployment' from {$id}: {$th->getMessage()}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
/**
|
||||||
|
* Create 'scheduledAt' attribute
|
||||||
|
*/
|
||||||
|
$this->createAttributeFromCollection($this->projectDB, $id, 'scheduledAt');
|
||||||
|
} catch (\Throwable $th) {
|
||||||
|
Console::warning("'scheduledAt' from {$id}: {$th->getMessage()}");
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
/**
|
||||||
|
* Create 'scheduleInternalId' attribute
|
||||||
|
*/
|
||||||
|
$this->createAttributeFromCollection($this->projectDB, $id, 'scheduleInternalId');
|
||||||
|
} catch (\Throwable $th) {
|
||||||
|
Console::warning("'scheduleInternalId' from {$id}: {$th->getMessage()}");
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
/**
|
||||||
|
* Create 'scheduleId' attribute
|
||||||
|
*/
|
||||||
|
$this->createAttributeFromCollection($this->projectDB, $id, 'scheduleId');
|
||||||
|
} catch (\Throwable $th) {
|
||||||
|
Console::warning("'scheduleId' from {$id}: {$th->getMessage()}");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
usleep(50000);
|
usleep(50000);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue