Fix relationships and constraints in models.py