diff --git a/app/workers/database.php b/app/workers/database.php index a004d365d..fd3824615 100644 --- a/app/workers/database.php +++ b/app/workers/database.php @@ -144,7 +144,6 @@ class DatabaseV1 extends Worker if(!$dbForExternal->createIndex($collectionId, $key, $type, $attributes, $lengths, $orders)) { throw new Exception('Failed to create Index'); } - $dbForInternal->updateDocument('indexes', $index->getId(), $index->setAttribute('status', 'available')); } catch (\Throwable $th) { Console::error($th->getMessage());