From 7faf7cbeec2fc61db5043ab4853a62acdd0d3dbd Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Thu, 24 Feb 2022 02:58:44 +0200 Subject: removed the sqlalchemy Create Engine --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 87db9d0..cd576c6 100644 --- a/app/main.py +++ b/app/main.py @@ -4,7 +4,7 @@ from .database import engine, SessionLocal from .routers import post, user, auth, vote from .config import settings -models.Base.metadata.create_all(bind=engine) +#models.Base.metadata.create_all(bind=engine) -- was needed for sqlalchemy before alembic app = FastAPI() app.include_router(post.router) -- cgit v1.2.3