# Aggiornamento fallito: la colonna "require\_message" non esiste

**URL:** <https://meta.discourse.org/t/update-failing-column-require-message-does-not-exist/335030>\
**Category:** Bug\
**Created:** [7 Novembre 2024, 7:44pm UTC](https://meta.discourse.org/t/update-failing-column-require-message-does-not-exist/335030 "2024-11-07T19:44:37Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![kris.kotlarek](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kris.kotlarek/32/176919_2.png) [@kris.kotlarek](https://meta.discourse.org/u/kris.kotlarek)\
**Post date:** [11 Novembre 2024, 1:53am UTC](https://meta.discourse.org/t/update-failing-column-require-message-does-not-exist/335030/20 "2024-11-11T01:53:27Z")

</div>

Ciao @TheStealth

Grazie per aver segnalato questo bug e ci scusiamo per l’inconveniente.

Questo problema dovrebbe essere risolto con questa PR 🤞

> <https://github.com/discourse/discourse/pull/29693>
>
> Bug introduced here: https://github.com/discourse/discourse/pull/29609
> 
> It was… checking if \`flags\` table existed before resetting the cache. However, \`require\_message\` flag was added in further migration:
> 
> https://github.com/discourse/discourse/blob/main/db/migrate/20240714231226\_duplicate\_flags\_custom\_type\_to\_require\_message.rb#L5
> 
> When the admin tried to update Discourse which already has \`flags\` table but no \`require\_message\` column, it was causing the error.
> 
> Therefore, we should ensure that all migrations are finished before resetting flags cache.
> 
> Meta: https://meta.discourse.org/t/update-failing-column-require-message-does-not-exist/335030

---

_[View the full topic](https://meta.discourse.org/t/update-failing-column-require-message-does-not-exist/335030)._
