See above - its not a versioning issue, its a FK / ref integrity / SQLAlchemy issue