mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-24 22:37:38 -05:00
The database upgrade that moves chat messages out of the chat record deleted every message of a chat whose saved message list was null or in an unexpected shape, so those messages were lost for good. The upgrade now keeps them, so such chats open with all their messages afterwards, and a single broken entry in the list no longer removes that message. Chats from older versions that also carry a plain list of their messages no longer get their first question added a second time. Fixes #34991
Generic single-database configuration. Create new migrations with DATABASE_URL=<replace with actual url> alembic revision --autogenerate -m "a description"