Big refactor of gift categories model
This commit is contained in:
@@ -49,7 +49,7 @@ class Event(Base, UUIDMixin, TimestampMixin):
|
||||
managers = relationship("EventManager", back_populates="event")
|
||||
guests = relationship("Guest", back_populates="event")
|
||||
gifts = relationship("GiftItem", back_populates="event")
|
||||
gift_categories = relationship("GiftCategory", back_populates="event")
|
||||
category_associations = relationship("EventGiftCategory", back_populates="event")
|
||||
media = relationship("EventMedia", back_populates="event")
|
||||
# updates = relationship("EventUpdate", back_populates="event") # Keep commented out
|
||||
rsvps = relationship("RSVP", back_populates="event")
|
||||
|
||||
Reference in New Issue
Block a user