コード例 #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);
 }
コード例 #2
0
 /**
  * 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;
 }