/**
  * @param SchemaManager $schemaManager
  */
 protected function dropSchema(SchemaManager $schemaManager)
 {
     $schemaManager->dropCollections();
 }
Exemplo n.º 2
0
 /**
  * @param SchemaManager $sm
  */
 protected function processIndex(SchemaManager $sm)
 {
     $sm->updateIndexes($this->timeout);
 }
 protected function processIndex(SchemaManager $sm)
 {
     $sm->ensureIndexes();
 }
Exemplo n.º 4
0
 /**
  * @param SchemaManager $sm
  */
 protected function processIndex(SchemaManager $sm)
 {
     $sm->ensureSharding();
 }