Backend Database access


(Jared Needell) #1

Does Discourse have a backend database that I can access to do mass changes? I’d like to add categories and add users as watchers via scripts.


(Robin Ward) #2

Yes we use postgres as our database. You will have a much easier time if you script against our API though, as it can be hard to create all the associated data when inserting/updating objects. I’d take a look at the discourse_api project.