You are here

public function TableComparison::addMissingColumn in Schema 8

File

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

Class

TableComparison

Namespace

Drupal\schema\Comparison\Result

Code

public function addMissingColumn($field, $definition) {
  $this->status = self::STATUS_DIFFERENT;
  $this->fields_missing[$field] = new MissingColumn($this
    ->getTableName(), $field, $definition);
}