abstract public function DatabaseSchema::dropIndex

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 drupal/includes/database/mysql/schema.inc
Drop an index.
DatabaseSchema_pgsql::dropIndex in drupal/includes/database/pgsql/schema.inc
Drop an index.
DatabaseSchema_sqlite::dropIndex in drupal/includes/database/sqlite/schema.inc
Drop an index.

File

drupal/includes/database/schema.inc, line 581

Class

DatabaseSchema
Base class for database schema definitions.

Code

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