Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bce563b

Browse files
fix
1 parent 0c394bd commit bce563b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎migrations/env.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from sqlalchemy.ext.asyncio import async_engine_from_config
88
from sqlmodel import SQLModel
99

10-
from app.core import settings
10+
from app.core.settings import settings
1111

1212
# this is the Alembic Config object, which provides
1313
# access to the values within the .ini file in use.
@@ -24,7 +24,7 @@
2424
# target_metadata = mymodel.Base.metadata
2525
target_metadata = SQLModel.metadata
2626

27-
config.set_main_option('sqlalchemy.url', settings.pg_dsn.unicode_string())
27+
config.set_main_option("sqlalchemy.url", settings.pg_dsn.unicode_string())
2828

2929

3030
# other values from the config, defined by the needs of env.py,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /