You are here

public function TableComparison::addIndexDifferences in Schema 8

1 call to TableComparison::addIndexDifferences()
TableComparison::addPrimaryKeyDifference in src/Comparison/Result/TableComparison.php

File

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

Class

TableComparison

Namespace

Drupal\schema\Comparison\Result

Code

public function addIndexDifferences($field, $type, $declared_schema, $actual_schema) {
  $this->status = self::STATUS_DIFFERENT;
  $this->index_diff[$field] = new DifferentIndex($this
    ->getTableName(), $field, $type, $declared_schema, $actual_schema);
}