adapt migrate import to new SQLAlchemy migrate version 0.7.x