Beispiel #1
0
 /**
  * Drop needed indexes.
  *
  * @return $this
  */
 protected function dropIndexes()
 {
     foreach ($this->comparator->droppedIndexes() as $index) {
         $this->logger()->debug("Dropping index [{statement}] from table {table}.", ['statement' => $index->sqlStatement(), 'table' => $this->getName(true)]);
         $this->commander->dropIndex($this, $index);
     }
     return $this;
 }