Fix Alembic migration import path issue

This commit is contained in:
Automated Action 2025-05-30 20:42:39 +00:00
parent 2f6fcf68fe
commit a6f3c5a7b8

View File

@ -2,6 +2,11 @@
Alembic environment configuration
"""
from logging.config import fileConfig
import os
import sys
# Add the parent directory to the Python path
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
from sqlalchemy import engine_from_config
from sqlalchemy import pool