Correct order for model key in Foreign and ManyToMany