diff --git a/progit/hooks/progit_ticket_hook.py b/progit/hooks/progit_ticket_hook.py index f9535a2..4e48d68 100644 --- a/progit/hooks/progit_ticket_hook.py +++ b/progit/hooks/progit_ticket_hook.py @@ -41,7 +41,7 @@ class ProgitTicketsTable(BASE): active = sa.Column(sa.Boolean, nullable=False, default=False) project = relation( - 'Project', remote_side=[Project.id], backref='progit_hook') + 'Project', remote_side=[Project.id], backref='progit_hook_tickets') class ProgitTicketsForm(wtf.Form):