Redid database structure wie with belongs_to