Created table definitions for ticket_opened and ticket_closed events
Changed ticket_type to an enum (#747)