notrab
04/10/2017, 11:01 AMEvent type, I’m thinking of using a node geocoder lib to get the long/lat, would you suggest storing this within a Json type? or two fields? I’ll also store the location as a string that the user types (which is used to lookup long/lat)nilan
04/10/2017, 11:01 AMI’ll also store the location as a string that the user types (which is used to lookup long/lat)what do you mean with that @notrab?
notrab
04/10/2017, 11:02 AMnotrab
04/10/2017, 11:02 AMlocation is what I’ll use within the geocoder to lookup the long/lat.nilan
04/10/2017, 11:03 AMgeocoder?notrab
04/10/2017, 11:03 AMnilan
04/10/2017, 11:04 AMLocation model with `lng`/`lat` fields of type floatnilan
04/10/2017, 11:04 AMnilan
04/10/2017, 11:04 AMEvent and Locationnotrab
04/10/2017, 11:05 AMnotrab
04/10/2017, 11:06 AMnilan
04/10/2017, 11:07 AMLocation model with these fields. If you don't plan to use that, then you can basically model it however makes most sense to you 🙂notrab
04/10/2017, 12:36 PM