problems for migration pass! (traning_details view and db:migration)