rename Ticket.ticket_type to Ticket.type