# Adding a method \`get\_like\` to PluginStore class

**URL:** <https://meta.discourse.org/t/adding-a-method-get-like-to-pluginstore-class/125026>\
**Category:** Development\
**Created:** [August 6, 2019, 6:12pm UTC](https://meta.discourse.org/t/adding-a-method-get-like-to-pluginstore-class/125026 "2019-08-06T18:12:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)\
**Post date:** [August 6, 2019, 7:15pm UTC](https://meta.discourse.org/t/adding-a-method-get-like-to-pluginstore-class/125026/4 "2019-08-06T19:15:56Z")

</div>

In general I recommend creating your own tables via migrations if the `PluginStoreRow` can’t be queried the way you want to. This is now commonly done in several plugins and works great!

---

_[View the full topic](https://meta.discourse.org/t/adding-a-method-get-like-to-pluginstore-class/125026)._
