Developing with Discourse

While I cannot help you with the other questions (but I’m sure someone else can), I have a word of advice here: Never let the database scheme deviate from the one provided by Discourse, or you’ll be in pain as soon as Discourse updates start making updates to the scheme. :cloud_with_lightning_and_rain:

Instead, Discourse core has mechanisms for plugins to store data, for example the plugin_store_rows table: For each user, you could insert a row there, with a key containing their user id and value containing a JSON object with latitude and longitude, for example :slight_smile: