We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c394bd commit bce563bCopy full SHA for bce563b
migrations/env.py
@@ -7,7 +7,7 @@
7
from sqlalchemy.ext.asyncio import async_engine_from_config
8
from sqlmodel import SQLModel
9
10
-from app.core import settings
+from app.core.settings import settings
11
12
# this is the Alembic Config object, which provides
13
# access to the values within the .ini file in use.
@@ -24,7 +24,7 @@
24
# target_metadata = mymodel.Base.metadata
25
target_metadata = SQLModel.metadata
26
27
-config.set_main_option('sqlalchemy.url', settings.pg_dsn.unicode_string())
+config.set_main_option("sqlalchemy.url", settings.pg_dsn.unicode_string())
28
29
30
# other values from the config, defined by the needs of env.py,
0 commit comments