code: private void correct1to1Detail(){
  		String[] hasManyTables = model.getHasMany();
  		for(String hasMany : hasManyTables){
  			if(shouldBeMoved(model, hasMany)){
  				model = moveFromHasManyToHasOne(model, hasMany);
  			}
  		}
  
  	}
docs: If the localColum of that hasMany table is the primary attributes AND it refer to the primary column of this table
  
  users.primaryKey = [user_id]
  users.hasMany = [user_info]
  users.hasManyLocal = [user_id]
  users.hasManyReference = [user_id]
  
  user_info.primaryKey = [user_id]
  user_info.hasOne = [users]
  user_info.hasOneLocal = [user_id]
  user_info.hasOneReference = [user_id]
  @param model
  @param modelList
  @return