Finally fixed alembic migrations by using shell and bash