You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
After lots of testing and checking, the problem are the foreign key definitions.
Because we have certain tables that have multiple foreign keys with the same signature (i.e. using the same table-field combinations), Doctrine sees this as a duplicate and therefore throws the error.
Maybe there is a flag for doctrine to ignore such errors?
As far as I can tell, there is nothing we can do, apart from removing those foreign key constraints 😕
❓ 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:
But I've got an error...
How can I fix it?
Thank you a lot!
The text was updated successfully, but these errors were encountered: