update alembic migrations
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Alembic env.py — подключение к БД через Settings.
|
||||
# Alembic env.py — подключение к БД через Settings.
|
||||
|
||||
import os
|
||||
import sys
|
||||
@@ -10,8 +10,8 @@ from sqlalchemy import engine_from_config, pool
|
||||
# Добавляем корень проекта в sys.path
|
||||
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
|
||||
|
||||
from iaai_scraper.core.config import Settings
|
||||
from iaai_scraper.storage.models import Base
|
||||
from encar_scraper.core.config import Settings
|
||||
from encar_scraper.storage.models import Base
|
||||
|
||||
config = context.config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user