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
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