diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2022-02-24 02:58:44 +0200 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2022-02-24 02:58:44 +0200 |
commit | 7faf7cbeec2fc61db5043ab4853a62acdd0d3dbd (patch) | |
tree | 8e34ada9eb8bb13d23173ed49bf0cc257aa35f89 | |
parent | 3ce694bbebb9c24606e83f8923ca8055b7c9c63d (diff) |
removed the sqlalchemy Create Engine
-rw-r--r-- | app/main.py | 2 |
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) |