# Какой лучший способ хранить данные с помощью плагина?

**URL:** https://meta.discourse.org/t/whats-the-best-way-to-store-data-with-a-plugin/388967
**Category:** Development
**Created:** [19.Ноябрь.2025 07:27:04 UTC](https://meta.discourse.org/t/whats-the-best-way-to-store-data-with-a-plugin/388967 "2025-11-19T07:27:04Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [19.Ноябрь.2025 09:20:55 UTC](https://meta.discourse.org/t/whats-the-best-way-to-store-data-with-a-plugin/388967/8 "2025-11-19T09:20:55Z")

</div>

[Chatbot](https://meta.discourse.org/t/discourse-chatbot/256652) делает что-то очень похожее.

Вот миграция:

> <https://github.com/merefield/discourse-chatbot/blob/main/db/migrate/20240217010103_create_chatbot_post_embeddings_bookmark_table.rb>

В ней всегда содержится только одна запись 🙂

---

_[View the full topic](https://meta.discourse.org/t/whats-the-best-way-to-store-data-with-a-plugin/388967)._
