summaryrefslogtreecommitdiff
path: root/app/main.py
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2022-02-24 02:58:44 +0200
committerRasmus Luha <rasmus.luha@gmail.com>2022-02-24 02:58:44 +0200
commit7faf7cbeec2fc61db5043ab4853a62acdd0d3dbd (patch)
tree8e34ada9eb8bb13d23173ed49bf0cc257aa35f89 /app/main.py
parent3ce694bbebb9c24606e83f8923ca8055b7c9c63d (diff)
removed the sqlalchemy Create Engine
Diffstat (limited to 'app/main.py')
-rw-r--r--app/main.py2
1 files changed, 1 insertions, 1 deletions
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)