Adding ticket related tables and a couple of minor model changes.