fix alembic settings
This commit is contained in:
parent
fab771129d
commit
8ec2ed1ebd
|
@ -30,7 +30,7 @@ target_metadata = Base.metadata
|
|||
# ... etc.
|
||||
from config import settings
|
||||
|
||||
config.set_main_option("sqlalchemy.url", settings.db_url)
|
||||
config.set_main_option("sqlalchemy.url", str(settings.db.url))
|
||||
|
||||
|
||||
def run_migrations_offline() -> None:
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
from .check_available_ports import start_check as check_available_ports
|
||||
|
||||
__all__ = ["check_available_ports"]
|
||||
__all__ = [
|
||||
"check_available_ports",
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue