Closed Stefan2409 closed 2 years ago
Hello @Stefan2409 thanks for opening this bug I have solved it here https://github.com/jonra1993/fastapi-alembic-sqlmodel-async/commit/b2efd4d040de66210cb71630f2239c854e34e50c
Please make a pull of the latest main branch code to test it and it is not needed to run the new Alembic migration "step2" despite you previously changed the database model.
How to reproduce the error:
I'm getting the following error when I try to add a user to a group (The user and group ids are correct):
I don't understand the TypeError because we only give 2 arguments not 3 like in the error message....