Describe the bug
Попытка обратиться к табличке после выполнения всех миграций
To Reproduce
Steps to reproduce the behavior:
alembic upgrade head
any sql query into table user or chat
Error logs
sqlalchemy.exc.AmbiguousForeignKeysError: Could not determine join condition between parent/child tables on relationship User.user_chat - there are multiple foreign key paths linking the tables. Specify the 'foreign_keys' argument, providing a list of those columns which should be counted as containing a foreign key reference to the parent table.
Describe the bug Попытка обратиться к табличке после выполнения всех миграций
To Reproduce Steps to reproduce the behavior:
Error logs sqlalchemy.exc.AmbiguousForeignKeysError: Could not determine join condition between parent/child tables on relationship User.user_chat - there are multiple foreign key paths linking the tables. Specify the 'foreign_keys' argument, providing a list of those columns which should be counted as containing a foreign key reference to the parent table.