# 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:** 1

<div class="post-metadata">

**Author:** ![Silvanus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/silvanus/32/62831_2.png) [@Silvanus](https://meta.discourse.org/u/Silvanus)\
**Post date:** [September 26, 2016, 11:31pm UTC](https://meta.discourse.org/t/how-to-use-the-database-without-destroying-discourse/50695/1 "2016-09-26T23:31:22Z")

</div>

I’m thinking of starting to make a plugin (working title: bookquote) that would replace citations from database and replace the citation in the message, for example `[us-constitution 1.1]` would give out `All legislative Powers herein granted shall be vested in a Congress of the United States, which shall consist of a Senate and House of Representatives. (U.S. Constitution, I.1)`.

I’m not really a coder, I’m a humanist scholar myself, but I have some rudimentary knowledge of coding, postgresql, git, and I’m a really good in copy&paste. Nerd youth…

My first question is: can I use the same database that Discourse uses to store the data, or should I use some other kind of storage i.e. a file? If I can use the database, how do I do that so that I don’t destroy anything that Discourse is trying to do?

---

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