ensureColumnIsNullable($schema, 'facerecog_persons', 'is_valid'); $this->ensureColumnIsNullable($schema, 'facerecog_images', 'is_processed'); return null; } protected function ensureColumnIsNullable(ISchemaWrapper $schema, string $tableName, string $columnName): bool { $table = $schema->getTable($tableName); $column = $table->getColumn($columnName); if ($column->getNotnull()) { $column->setNotnull(false); return true; } return false; } }