Skip to content

Fix migrations of 2.6.0 - #335

Merged
julien-nc merged 2 commits into
mainfrom
fix/332/missing-notnull-text-columns-default-values
Aug 9, 2025
Merged

Fix migrations of 2.6.0#335
julien-nc merged 2 commits into
mainfrom
fix/332/missing-notnull-text-columns-default-values

Conversation

@julien-nc

@julien-nc julien-nc commented Aug 9, 2025

Copy link
Copy Markdown
Member
  • Set sources and attachment to notnull=false in oc_assistant_chat_msgs
  • Adjust message serialization

For instances that could upgrade to 2.6.0, this won't change anything.
For instance that could not upgrade (so the 020600Date20250704145036 migration did not run because it could not set attachment and sources for existing rows), they will be able to upgrade to v2.6.1 which will contain

  • the fixed 020600Date20250704145036 migration
  • plus a new one to make sure all instances have notNull=false for those 2 columns

refs #332

…chat_msgs, adjust message serialization

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…ements and msg.sources

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc
julien-nc force-pushed the fix/332/missing-notnull-text-columns-default-values branch from 757ae03 to 922d7d1 Compare August 9, 2025 11:31
@julien-nc
julien-nc merged commit 5940f5f into main Aug 9, 2025
16 checks passed
@julien-nc
julien-nc deleted the fix/332/missing-notnull-text-columns-default-values branch August 9, 2025 11:35
@julien-nc julien-nc mentioned this pull request Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant