migrate and add has has_one and has_manys