mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix extra collection keys
This commit is contained in:
@@ -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,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user