We have 3 tables: Products, Shops, Cities. A city can have multiple shops, and a shop can have multiple products. So, Products has a ManyToMany foreignKey towards Shops, and