SilverStripe\SQLite\SQLite3SchemaManager::createIndex
Create an index on a table.
Signature
public function createIndex(string
$tableName,
string
$indexName,
array
$indexSpec )
Parameters
$tableName
— string- The name of the table.
$indexName
— string- The name of the index.
$indexSpec
— array- The specification of the index, see Database::requireIndex() for more details.