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
Hi, everyone! I`m new in alembic and ormar (using fastapi)
I pass
from chill_app.database import metadata
from chill_app.auth.models import User
target_metadata = metadata
to env.py in alembic folder after run alembic init alembic
so, I pass sqlalchemy.url in alembic.ini file
I created models just like in doc and when I try to --autogenerate I got:
AttributeError: module 'databases' has no attribute '_backend'. Did you mean: 'backends'? https://pastebin.com/hZbynL9G - there is full trace
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, everyone! I`m new in alembic and ormar (using fastapi)
I pass
to env.py in alembic folder after run
alembic init alembic
so, I pass sqlalchemy.url in alembic.ini file
I created models just like in doc and when I try to --autogenerate I got:
AttributeError: module 'databases' has no attribute '_backend'. Did you mean: 'backends'?
https://pastebin.com/hZbynL9G - there is full trace
Beta Was this translation helpful? Give feedback.
All reactions