```python
backref=db.backref("versions", lazy="dynamic", 
                                cascade="all, delete-orphan"),
```