Fix PostTrialLog model and tables
Fix many-to-many cases-sources relation