# Building the image without touching the database

**URL:** <https://meta.discourse.org/t/building-the-image-without-touching-the-database/171454>\
**Category:** Self-hosting\
**Created:** [November 27, 2020, 12:33am UTC](https://meta.discourse.org/t/building-the-image-without-touching-the-database/171454 "2020-11-27T00:33:22Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![pschichtel](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@pschichtel](https://meta.discourse.org/u/pschichtel)\
**Post date:** [August 15, 2023, 10:28pm UTC](https://meta.discourse.org/t/building-the-image-without-touching-the-database/171454/10 "2023-08-15T22:28:56Z")

</div>

I found `db:ensure_post_migrations` via `rake -AT`.

What’s the difference between `db:migrate` with `SKIP_POST_DEPLOYMENT_MIGRATIONS=0` and `db:ensure_post_migrations`?

---

_[View the full topic](https://meta.discourse.org/t/building-the-image-without-touching-the-database/171454)._
