fix alembic env path

This commit is contained in:
IluaAir
2025-07-13 11:47:26 +03:00
parent f3030593da
commit e5dec473cb
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,6 @@ from pydantic import BaseModel
from pydantic_settings import BaseSettings, SettingsConfigDict
BASE_DIR = Path(__file__).parent.parent
print(BASE_DIR)
DB_PATH = BASE_DIR / "db/taskncoffee.db"

View File

@@ -5,7 +5,7 @@ from sqlalchemy import pool
from alembic import context
from src.db.database import Base
from src.core.database import Base
from src.models import * # noqa
# this is the Alembic Config object, which provides