예제 #1
0
파일: CakeAdapter.php 프로젝트: lhas/pep
 /**
  * Drops the specified index from a database table.
  *
  * @param string $tableName
  * @param mixed  $columns Column(s)
  * @return void
  */
 public function dropIndex($tableName, $columns)
 {
     $this->adapter->dropIndex($tableName, $columns);
 }
 /**
  * Drops the specified index from a database table.
  *
  * @param string $tableName
  * @param array  $columns Column(s)
  *
  * @return TableMigrationInterface
  */
 public function dropIndex($tableName, array $columns)
 {
     $this->adapter->dropIndex($tableName, $columns);
     return $this;
 }