You are here

public function TableComparison::addColumnDifferences in Schema 8

File

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

Class

TableComparison

Namespace

Drupal\schema\Comparison\Result

Code

public function addColumnDifferences($field, $different_keys, $declared_schema, $actual_schema) {
  $this->status = self::STATUS_DIFFERENT;
  $this->fields_diff[$field] = new DifferentColumn($this
    ->getTableName(), $field, $different_keys, $declared_schema, $actual_schema);
}