# Migrationsfehler in 'rename\_discourse\_rewind\_disabled\_to\_enabled'

**URL:** https://meta.discourse.org/t/migration-error-in-rename-discourse-rewind-disabled-to-enabled/393049
**Category:** Self-hosting
**Created:** [8. Januar 2026 um 16:28 UTC](https://meta.discourse.org/t/migration-error-in-rename-discourse-rewind-disabled-to-enabled/393049 "2026-01-08T16:28:20Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [8. Januar 2026 um 16:33 UTC](https://meta.discourse.org/t/migration-error-in-rename-discourse-rewind-disabled-to-enabled/393049/2 "2026-01-08T16:33:43Z")

</div>

Entschuldigung, das war mein Fehler. Die Migration hat die Standard-/Null-Einschränkung in der falschen Reihenfolge gesetzt 🤦‍♂️

> <https://github.com/discourse/discourse/pull/37016>
>
> Reorders the \`change\_column\_null\` and \`change\_column\_default\` calls to ensure th…e NOT NULL constraint is removed before setting the default to nil.
> 
> Follow-up to #37011
> Ref - https://meta.discourse.org/t/392939

---

_[View the full topic](https://meta.discourse.org/t/migration-error-in-rename-discourse-rewind-disabled-to-enabled/393049)._
