You are here

public function TableComparison::addMissingPrimaryKey in Schema 8

File

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

Class

TableComparison

Namespace

Drupal\schema\Comparison\Result

Code

public function addMissingPrimaryKey($definition) {
  $this
    ->addMissingIndex('PRIMARY', 'PRIMARY', $definition);
}