1.20.x schema.inc abstract public DatabaseSchema::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

includes/database/schema.inc, line 643
Generic Database schema code.

Class

DatabaseSchema
Base class for database schema definitions.

Code

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