You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a custom migration that changes a field type from string (255) to text and it's applied after the snapshot, on container restart, data gets lost as the migration change is reverted.
Thanks for opening this issue!
I'm afraid the documentation propagates a wrong way here for the reasons I've explained in #11798 (reply in thread).
Not sure why this has been adopted in the documentation, but I'll see that this part gets adjusted accordingly 👍
Describe the Bug
If you have a custom migration that changes a field type from string (255) to text and it's applied after the snapshot, on container restart, data gets lost as the migration change is reverted.
This follows the guidelines outlined in the docs:
To Reproduce
description
as type string (255 length)description
type fromstring
totext
Expected:
Snapshot changes not be descrutive.
Actual: snapshot change is destructive and text gets truncated to 255.
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered: