# Database migration script documentation

**URL:** <https://meta.discourse.org/t/database-migration-script-documentation/384880>\
**Category:** Development\
**Created:** [October 7, 2025, 11:47am UTC](https://meta.discourse.org/t/database-migration-script-documentation/384880 "2025-10-07T11:47:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Honeyxilia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/honeyxilia/32/523830_2.png) [@Honeyxilia](https://meta.discourse.org/u/Honeyxilia)\
**Post date:** [October 7, 2025, 11:47am UTC](https://meta.discourse.org/t/database-migration-script-documentation/384880/1 "2025-10-07T11:47:27Z")

</div>

Hello there - as a plugin used in our Discourse instance is no longer updates (Multilingual), and some of its features are supported in the newer versions of Discourse, we wished to use a migration script in order to move values in the database to new places.

However, while researching the wiki articles from this site, or the git repository of Discourse, I haven’t found any documentation to write a migration script (what class to inherit, what methods to use…)

Is there any documentation which I missed ? Aside from looking at migration code, is there any tips to acknowledge myself around migration scripts ?

Ty in advance!

---

_[View the full topic](https://meta.discourse.org/t/database-migration-script-documentation/384880)._
