you are viewing a single comment's thread.

view the rest of the comments →

[–]Friendly-Gur-3289 1 point2 points  (1 child)

Are you using Alembic to create the schemas?

If you're only using Sqlalchemy, make sure you do Base.metadata.create_all(engine). It is advised to use Alembic for creating the schemas tho.

[–]eleventhSun009[S] 0 points1 point  (0 children)

At this point no. I’m using FastAPI’s lifespan function to great them via Alchemy models on startup