Repository navigation
fix(db): regenerate ChatSettings migration for semanticSearchEnabled (v19) - #2277
Merged
Merged
Conversation
…(v19) PR #2246 added semanticSearchEnabled to db/schema.cds and advanced db/last-dev/csn.json, but never regenerated the ChatSettings hdbmigrationtable. Model + last-dev agreed the column existed while the migration table stayed at v18, so HDI deploy failed building AdminService.ChatSettings.hdbview: Database error 260: invalid column name CHATSETTINGS_0.SEMANTICSEARCHENABLED Regenerated via cds build --production (compiler 7.0.1, matching CI), adding migration=19 ALTER ... ADD (semanticSearchEnabled BOOLEAN DEFAULT FALSE). last-dev already carries the column from #2246, so the migration table is the only missing piece; a canonical two-task build reproduces it byte-identically with last-dev unchanged.
jung-thomas
deleted the
fix/chatsettings-semanticsearch-migration-v19
branch
September 13, 2026 16:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
DEV deploy fails at HDI
makebuildingAdminService.ChatSettings.hdbview:Root cause
PR #2246 (
feat(search): public anonymous semantic_search) addedsemanticSearchEnabled : Booleantodb/schema.cdsand advanceddb/last-dev/csn.json(commit fc464b8), but never regenerated theChatSettingshdbmigrationtable. The model andlast-devboth carried the column while the migration table stayed atversion=18, so the generated.hdbviewreferenced a column the table never added.This is the 3rd occurrence of the same miss (v16 puzzleHint dbb41e2, v17 alerts 5abf73a).
Fix
Regenerated the migration table via
cds build --production(compiler 7.0.1, matching CI), adding:Single-file change.
last-dev/csn.jsonalready carries the column from #2246, so the migration table is the only missing piece — a canonical two-taskcds build --productionreproduces this table byte-identically withlast-devunchanged (verified locally with the DEV-pinned cds 10.1.0).Test
cds build --productionproduces exactly this diff, no further migrations,last-devclean.