/** * @param string $table * @param string $columns * * @return int */ public function dropForeignKey($table, $columns) { $name = $this->getConnection()->getForeignKeyName($table, $columns); $table = $this->getConnection()->addTablePrefix($table); return parent::dropForeignKey($name, $table); }
/** * @param string $table * @param string $columns * @return int */ public function dropForeignKey($table, $columns) { $name = DbHelper::getForeignKeyName($table, $columns); $table = DbHelper::addTablePrefix($table); return parent::dropForeignKey($name, $table); }