ruff formatter
This commit is contained in:
@@ -6,7 +6,7 @@ from sqlalchemy import pool
|
||||
from alembic import context
|
||||
|
||||
from src.db.database import Base
|
||||
from src.models import * # noqa
|
||||
from src.models import * # noqa
|
||||
|
||||
# this is the Alembic Config object, which provides
|
||||
# access to the values within the .ini file in use.
|
||||
@@ -68,9 +68,7 @@ def run_migrations_online() -> None:
|
||||
)
|
||||
|
||||
with connectable.connect() as connection:
|
||||
context.configure(
|
||||
connection=connection, target_metadata=target_metadata
|
||||
)
|
||||
context.configure(connection=connection, target_metadata=target_metadata)
|
||||
|
||||
with context.begin_transaction():
|
||||
context.run_migrations()
|
||||
|
||||
Reference in New Issue
Block a user