# Developing with Discourse

**URL:** <https://meta.discourse.org/t/developing-with-discourse/72777>\
**Category:** Development\
**Created:** [October 25, 2017, 5:59pm UTC](https://meta.discourse.org/t/developing-with-discourse/72777 "2017-10-25T17:59:20Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [October 26, 2017, 7:07am UTC](https://meta.discourse.org/t/developing-with-discourse/72777/7 "2017-10-26T07:07:52Z")

</div>

> [@drew0101](#):
>
> Add longitude and latitude attributes to the user model and migrate the db. (Lets assume all the users are seeded with a longitude and latitude)

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

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 🙂

---

_[View the full topic](https://meta.discourse.org/t/developing-with-discourse/72777)._
