You are here

public function TableComparison::addExtraColumn in Schema 8

File

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

Class

TableComparison

Namespace

Drupal\schema\Comparison\Result

Code

public function addExtraColumn($field, $schema) {
  $this->status = self::STATUS_DIFFERENT;
  $this->fields_extra[$field] = new ExtraColumn($this
    ->getTableName(), $field, $schema);
}