···991010# Interpret the config file for Python logging.
1111# This line sets up loggers basically.
1212-fileConfig(config.config_file_name)
1212+fileConfig(config.config_file_name) # type: ignore
131314141515# add your model's MetaData object here
···17171818from kefi.config import settings
1919from kefi.models.users import User
2020+from kefi.models.wallets import Transaction
20212121-if settings.IS_TEST:
2222- config.set_main_option(
2323- "sqlalchemy.url", f"{settings.DATABASE_URL}{settings.DATABASE_TEST_SUFFIX}"
2424- )
2525-else:
2626- config.set_main_option("sqlalchemy.url", f"{settings.DATABASE_URL}")
2222+config.set_main_option("sqlalchemy.url", settings.db_url())
2723target_metadata = SQLModel.metadata
28242925# other values from the config, defined by the needs of env.py,