Olá Alura,
estou com erro aqui. Vou deixar o link do git aqui em baixo: git@github.com:tiagobrandao03/2612-doctrine.git
Aqui está o erro:
ID: 1 Nome: Ana Maria Telefones: PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such column: t0.student_id in C:\xampp\htdocs\2612-doctrine\vendor\doctrine\dbal\src\Driver\PDO\Connection.php:59 Stack trace: #0 C:\xampp\htdocs\2612-doctrine\vendor\doctrine\dbal\src\Driver\PDO\Connection.php(59): PDO->prepare('SELECT t0.id AS...') #1 C:\xampp\htdocs\2612-doctrine\vendor\doctrine\dbal\src\Connection.php(1095): Doctrine\DBAL\Driver\PDO\Connection->prepare('SELECT t0.id AS...') #2 C:\xampp\htdocs\2612-doctrine\vendor\doctrine\orm\lib\Doctrine\ORM\Persisters\Entity\BasicEntityPersister.php(1865): Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS...', Array, Array) #3 C:\xampp\htdocs\2612-doctrine\vendor\doctrine\orm\lib\Doctrine\ORM\Persisters\Entity\BasicEntityPersister.php(1806): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getOneToManyStatement(Array, Object(Alura\Doctrine\Entity\Student)) #4 C:\xampp\htdocs\2612-doctrine\vendor\doctrine\orm\lib\Doctrine\ORM\UnitOfWork.php(3037): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadOneToManyCollection(Array, Object(Alura\Doctrine\Entity\Student), Object(Doctrine\ORM\PersistentCollection)) #5 C:\xampp\htdocs\2612-doctrine\vendor\doctrine\orm\lib\Doctrine\ORM\PersistentCollection.php(698): Doctrine\ORM\UnitOfWork->loadCollection(Object(Doctrine\ORM\PersistentCollection)) #6 C:\xampp\htdocs\2612-doctrine\vendor\doctrine\orm\lib\Doctrine\ORM\PersistentCollection.php(213): Doctrine\ORM\PersistentCollection->doInitialize() #7 C:\xampp\htdocs\2612-doctrine\vendor\doctrine\collections\lib\Doctrine\Common\Collections\AbstractLazyCollection.php(294): Doctrine\ORM\PersistentCollection->initialize() #8 C:\xampp\htdocs\2612-doctrine\bin\list-students.php(19): Doctrine\Common\Collections\AbstractLazyCollection->getIterator() #9 {main}