abstract public function Schema::dropIndex

abstract public Schema::dropIndex($table, $name)

Drop an index.

Parameters

$table: The table to be altered.

$name: The name of the index.

Return value

TRUE if the index was successfully dropped, FALSE if there was no index by that name to begin with.

File

core/lib/Drupal/Core/Database/Schema.php, line 510

Class

Schema
Provides a base implementation for Database Schema.

Namespace

Drupal\Core\Database

Code

abstract public function dropIndex($table, $name);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Schema.php/function/Schema::dropIndex/8.1.x