You are here

public function TableComparison::getDeclaredPrimaryKey in Schema 8

File

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

Class

TableComparison

Namespace

Drupal\schema\Comparison\Result

Code

public function getDeclaredPrimaryKey() {
  return isset($this->schema['primary key']) ? $this->schema['primary key'] : FALSE;
}