Added ticket_type to database model