summaryrefslogtreecommitdiff
path: root/app/main.py
diff options
context:
space:
mode:
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)