mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Fix extra collection keys
This commit is contained in:
parent
15c13aa032
commit
fa3894ef1c
1 changed files with 6 additions and 10 deletions
|
|
@ -96,18 +96,14 @@ abstract class Migration
|
||||||
|
|
||||||
$this->collections = Config::getParam('collections', []);
|
$this->collections = Config::getParam('collections', []);
|
||||||
|
|
||||||
$this->collections['projects'][] = [
|
$this->collections['projects']['_metadata'] = [
|
||||||
'_metadata' => [
|
'$id' => ID::custom('_metadata'),
|
||||||
'$id' => ID::custom('_metadata'),
|
'$collection' => Database::METADATA,
|
||||||
'$collection' => Database::METADATA
|
|
||||||
]
|
|
||||||
];
|
];
|
||||||
|
|
||||||
$this->collections['projects'][] = [
|
$this->collections['projects']['audit'] = [
|
||||||
'audit' => [
|
'$id' => ID::custom('audit'),
|
||||||
'$id' => ID::custom('audit'),
|
'$collection' => Database::METADATA,
|
||||||
'$collection' => Database::METADATA
|
|
||||||
],
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue