@Qwyu_4iLofK

Почему в консоли «. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType()»?

При попытке присвоить полю новый тип enumstatus
vendor/bin/doctrine orm:schema-tool:update --force
пишет
Unknown column type "enumstatus" requested. Any Doctrine type that you use has to be registered with \Doctrine\DBAL\Types\Type::addType().   
  You can get a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database introspection then yo  
  u might have forgotten to register all database types for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or have your custom t  
  ypes implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem with the cache or forgot some mapping information.


Если запустить веб приложение в браузере , то ошибок нет. Такая ошибка только в консоли....-(((( и я бд никак не обновлю...
  • Вопрос задан
  • 264 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы