public function TableComparison::addExtraIndex in Schema 8
1 call to TableComparison::addExtraIndex()
- TableComparison::addExtraPrimaryKey in src/
Comparison/ Result/ TableComparison.php
File
- src/
Comparison/ Result/ TableComparison.php, line 102 - Contains Drupal\schema\Comparison\Result\TableComparison.
Class
Namespace
Drupal\schema\Comparison\ResultCode
public function addExtraIndex($field, $type, $schema) {
$this->status = self::STATUS_DIFFERENT;
// Other than for the primary key, this is not necessarily an error as the
// dba might have added the index on purpose for performance reasons.
$this->index_extra[$field] = new ExtraIndex($this
->getTableName(), $field, $type, $schema);
}