mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Add event backward model
This commit is contained in:
parent
9bf7d9bda4
commit
917faa07db
1 changed files with 6 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
namespace Appwrite\Utopia\Request\Filters;
|
namespace Appwrite\Utopia\Request\Filters;
|
||||||
|
|
||||||
use Appwrite\Utopia\Request\Filter;
|
use Appwrite\Utopia\Request\Filter;
|
||||||
|
use Appwrite\Migration\Version\V13 as MigrationV13;
|
||||||
|
|
||||||
class V14 extends Filter
|
class V14 extends Filter
|
||||||
{
|
{
|
||||||
|
|
@ -23,7 +24,11 @@ class V14 extends Filter
|
||||||
|
|
||||||
private function convertEvents($content)
|
private function convertEvents($content)
|
||||||
{
|
{
|
||||||
// TODO: Convert events
|
$migration = new MigrationV13();
|
||||||
|
|
||||||
|
$events = $content['events'] ?? [];
|
||||||
|
$content['events'] = $migration->migrateEvents($events);
|
||||||
|
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue