foundersandcoders / open-tourism-platform

An open platform to facilitate the creation of apps to promote local tourism and business in Nazareth
MIT License
17 stars 3 forks source link

sort out/finalise some of the fields in the schema #84

Closed mattlub closed 7 years ago

mattlub commented 7 years ago

e.g. the categories, which should be an array of enums, is not implemented correctly.

and the 'ref' (foreign key) fields are inconsistent, e.g. having ownerId field and a location field (as opposed to locationId). I lean towards dropping the 'id' altogether

m4v15 commented 7 years ago

Should the sub docs have ids