mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-30 03:07:00 -05:00
feat: Implement MFA authentication, add ride statistics model, and update various services, APIs, and tests across the application.
This commit is contained in:
@@ -57,8 +57,10 @@ def run_migrations_online() -> None:
|
||||
# Import SQLAlchemy lazily so environments without it (e.g. static analyzers)
|
||||
# don't fail at module import time.
|
||||
try:
|
||||
from sqlalchemy import engine_from_config # type: ignore
|
||||
from sqlalchemy import pool # type: ignore
|
||||
from sqlalchemy import (
|
||||
engine_from_config, # type: ignore
|
||||
pool, # type: ignore
|
||||
)
|
||||
except ImportError as exc:
|
||||
raise RuntimeError(
|
||||
"SQLAlchemy is required to run online Alembic migrations. "
|
||||
|
||||
@@ -6,8 +6,8 @@ Create Date: 2025-06-17 15:00:00.000000
|
||||
|
||||
"""
|
||||
|
||||
from alembic import op # type: ignore
|
||||
import sqlalchemy as sa # type: ignore
|
||||
from alembic import op # type: ignore
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = "20250617"
|
||||
|
||||
Reference in New Issue
Block a user