mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Use keys instead of fulltext
This commit is contained in:
@@ -4264,14 +4264,14 @@ $projectCollections = array_merge([
|
||||
'indexes' => [
|
||||
[
|
||||
'$id' => '_key_migrationInternalId',
|
||||
'type' => Database::INDEX_FULLTEXT,
|
||||
'type' => Database::INDEX_KEY,
|
||||
'attributes' => ['migrationInternalId'],
|
||||
'lengths' => [Database::LENGTH_KEY],
|
||||
'orders' => [Database::ORDER_ASC],
|
||||
],
|
||||
[
|
||||
'$id' => '_key_group',
|
||||
'type' => Database::INDEX_FULLTEXT,
|
||||
'type' => Database::INDEX_KEY,
|
||||
'attributes' => ['group'],
|
||||
'lengths' => [Database::LENGTH_KEY],
|
||||
'orders' => [Database::ORDER_ASC],
|
||||
|
||||
@@ -398,7 +398,7 @@ App::post('/v1/migrations/nhost')
|
||||
->setProject($project)
|
||||
->setUser($user);
|
||||
|
||||
$triggerMigration($migration->getId(), $resources, $queueForMigrations, $dbForProject);
|
||||
$triggerMigration($migration, $resources, $queueForMigrations, $dbForProject);
|
||||
|
||||
$response
|
||||
->setStatusCode(Response::STATUS_CODE_ACCEPTED)
|
||||
|
||||
Reference in New Issue
Block a user