# How to add categories

**URL:** <https://meta.discourse.org/t/how-to-add-categories/71859>\
**Category:** Product Support\
**Created:** [11 באוקטובר,‏ 2017,‏ 4:56pm UTC](https://meta.discourse.org/t/how-to-add-categories/71859 "2017-10-11T16:56:18Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![cratag](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@cratag](https://meta.discourse.org/u/cratag)\
**Post date:** [21 במאי,‏ 2021,‏ 2:51pm UTC](https://meta.discourse.org/t/how-to-add-categories/71859/18 "2021-05-21T14:51:01Z")

</div>

Well after installing the discourse local development for ubuntu and running the `rails db:create` and `rails db:migrate`, I ran the server `rails s`

Then I went into discourse localhost and created a category with my admin account

After that I logged into pgadmin and within the `discourse_development` database I opened the `categories` table, and there was my new category with an id of 3 (I think) - I just changed that id to 78 and saved

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-categories/71859)._
