Fix sys.path.import on alembi
@@ -2,6 +2,8 @@ import os
import sys
from logging.config import fileConfig
+sys.path.insert(0, os.getcwd())
+
from alembic import context
# Import models here
@@ -13,8 +15,6 @@ from src.database.db import metadata
from src.association.settings import DATABASE_URL
from sqlalchemy import engine_from_config, pool
-sys.path.insert(0, os.getcwd())
-
# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
