# How to use the database without destroying Discourse?

**URL:** <https://meta.discourse.org/t/how-to-use-the-database-without-destroying-discourse/50695>\
**Category:** Development\
**Created:** [September 26, 2016, 11:31pm UTC](https://meta.discourse.org/t/how-to-use-the-database-without-destroying-discourse/50695 "2016-09-26T23:31:22Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [September 28, 2016, 6:42pm UTC](https://meta.discourse.org/t/how-to-use-the-database-without-destroying-discourse/50695/5 "2016-09-28T18:42:28Z")

</div>

See examples on the source code of some plugins:

- [discourse-user-notes/plugin.rb at main · discourse/discourse-user-notes · GitHub](https://github.com/discourse/discourse-staff-notes/blob/master/plugin.rb#L27)

- [discourse-canned-replies/plugin.rb at main · discourse/discourse-canned-replies · GitHub](https://github.com/discourse/discourse-canned-replies/blob/master/plugin.rb#L38)

---

_[View the full topic](https://meta.discourse.org/t/how-to-use-the-database-without-destroying-discourse/50695)._
