Holy moley is it hard to do MUCK stuff relationally.

This commit is contained in:
Yaro Kasear 2025-09-04 14:36:00 -05:00
parent c72417e5e4
commit d9ed6d5cd7
8 changed files with 89 additions and 24 deletions

5
muck/models/__init__.py Normal file
View file

@ -0,0 +1,5 @@
from muck.models.dbref import Dbref
from muck.models.exit import Exit
from sqlalchemy.orm import relationship
Dbref.exits = relationship("Exit", back_populates="source", foreign_keys=[Exit.location_id])