diff --git a/backend/bittan/bittan/models/ticket.py b/backend/bittan/bittan/models/ticket.py index 2538594..00bd3a5 100644 --- a/backend/bittan/bittan/models/ticket.py +++ b/backend/bittan/bittan/models/ticket.py @@ -6,3 +6,4 @@ class Ticket(models.Model): payment = models.ForeignKey('Payment', on_delete=models.DO_NOTHING) ticket_type = models.ForeignKey('TicketType', on_delete=models.DO_NOTHING) times_used = models.IntegerField(default=0) + chapter_event = models.ForeignKey("ChapterEvent", on_delete=models.DO_NOTHING)