From 5af9936a41d004f359151ddf7f8e4bd603cd47cc Mon Sep 17 00:00:00 2001 From: chiu0602 Date: Sun, 29 Aug 2021 23:45:13 +0800 Subject: [PATCH] Base should be imported from session instead of models --- {{cookiecutter.project_slug}}/backend/app/alembic/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/backend/app/alembic/env.py b/{{cookiecutter.project_slug}}/backend/app/alembic/env.py index 5cbeca06..30e3811f 100644 --- a/{{cookiecutter.project_slug}}/backend/app/alembic/env.py +++ b/{{cookiecutter.project_slug}}/backend/app/alembic/env.py @@ -5,7 +5,7 @@ from sqlalchemy import engine_from_config from sqlalchemy import pool -from app.db.models import Base +from app.db.session import Base # this is the Alembic Config object, which provides # access to the values within the .ini file in use.