Open
Description
❓ Support Question / Feature Request
Hello!
I would use the Doctrine ORM for our bot package, it would make sense to me, because we can use DB easier. In the end I can create the PR, if my idea sounds okay :)
To do that, I have to solve a problem...
I'm trying to convert the SQL-file to Doctrine Entities. https://github.com/php-telegram-bot/core/blob/master/structure.sql
I need to use command in console:
./vendor/bin/doctrine orm:convert-mapping php src/ --from-database --force
But I've got an error...
Property "chat" in "EditedMessage" was already declared, but it must be declared only once
How can I fix it?
Thank you a lot!