# How to create migration files?

**URL:** https://meta.discourse.org/t/how-to-create-migration-files/48991
**Category:** Development
**Created:** [August 22, 2016, 10:55am UTC](https://meta.discourse.org/t/how-to-create-migration-files/48991 "2016-08-22T10:55:12Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 22, 2016, 1:43pm UTC](https://meta.discourse.org/t/how-to-create-migration-files/48991/3 "2016-08-22T13:43:38Z")

</div>

Note that if you are developing a plugin, discourse provides a PluginStore to help you avoid migrations, since undoing then when the plugin gets uinstalled is a open problem.

---

_[View the full topic](https://meta.discourse.org/t/how-to-create-migration-files/48991)._
