foreach ($this->fields as $field => $type) {
$this->skipIf($userTable->hasColumn($field), 'It seems that you already played this migration.');
- $userTable->addColumn($field, $type);
+ $userTable->addColumn($field, $type, ['notnull' => false]);
}
}
}