You are here

public function TableComparison::addExtraPrimaryKey in Schema 8

File

src/Comparison/Result/TableComparison.php, line 98
Contains Drupal\schema\Comparison\Result\TableComparison.

Class

TableComparison

Namespace

Drupal\schema\Comparison\Result

Code

public function addExtraPrimaryKey($definition) {
  $this
    ->addExtraIndex('PRIMARY', 'PRIMARY', $definition);
}