mirror of
https://github.com/appwrite/appwrite
synced 2026-05-20 23:48:23 +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['projects'][] = [
|
||||
'_metadata' => [
|
||||
'$id' => ID::custom('_metadata'),
|
||||
'$collection' => Database::METADATA
|
||||
]
|
||||
$this->collections['projects']['_metadata'] = [
|
||||
'$id' => ID::custom('_metadata'),
|
||||
'$collection' => Database::METADATA,
|
||||
];
|
||||
|
||||
$this->collections['projects'][] = [
|
||||
'audit' => [
|
||||
'$id' => ID::custom('audit'),
|
||||
'$collection' => Database::METADATA
|
||||
],
|
||||
$this->collections['projects']['audit'] = [
|
||||
'$id' => ID::custom('audit'),
|
||||
'$collection' => Database::METADATA,
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue