You are here

abstract public function DatabaseSchema::dropIndex in Drupal 7

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.

3 methods override DatabaseSchema::dropIndex()
DatabaseSchema_mysql::dropIndex in includes/database/mysql/schema.inc
Drop an index.
DatabaseSchema_pgsql::dropIndex in includes/database/pgsql/schema.inc
Drop an index.
DatabaseSchema_sqlite::dropIndex in includes/database/sqlite/schema.inc
Drop an index.

File

includes/database/schema.inc, line 649

Class

DatabaseSchema
Base class for database schema definitions.

Code

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