mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
feat(self-hosted): update migration for transactions collections
This commit is contained in:
parent
01765fd27f
commit
97312d1a6d
1 changed files with 4 additions and 0 deletions
|
|
@ -97,6 +97,10 @@ class V23 extends Migration
|
|||
$this->dbForProject->purgeCachedDocument(Database::METADATA, $id);
|
||||
|
||||
switch ($id) {
|
||||
case '_metadata':
|
||||
$this->createCollection('transactions');
|
||||
$this->createCollection('transactionLogs');
|
||||
break;
|
||||
case 'projects':
|
||||
$attributes = [
|
||||
'pingCount',
|
||||
|
|
|
|||
Loading…
Reference in a new issue