feat(sessions): service sessions are always English
Both sync functions now force language='English' for sessions flagged is_service_session (covers Sessionize, GridSmart and Excel paths); existing service rows are backfilled by the migration. Regular sessions keep the Language-category behavior unchanged. Seed mirrors the rule; test suite extended (11 cases, all green).
This commit is contained in:
1 parent
2ccbd3604b
commit
1f4b9d2beb
3 files changed
+550
-2
No files matched your search
@@ -256,6 +256,10 @@ In this workshop, we’ll build a custom connector step by step for a simulated
|
||||
update public.sessions set language = 'English'
|
||||
where language is null
|
||||
and slot_id in (select id from public.slots where type = 'session');
|
||||
-- Service sessions are always English (sync enforces the same rule).
|
||||
update public.sessions set language = 'English'
|
||||
where language is distinct from 'English'
|
||||
and slot_id in (select id from public.slots where type = 'service_session');
|
||||
update public.sessions set language = 'German'
|
||||
where title in ('Low Code, High Impact – warum Wirkung wichtiger ist als Code',
|
||||
'Copilot Studio in der Praxis, Interne Chatbots mit Model Context Protocol für deinen Arbeitsalltag');
|
||||
|
||||
Reference in new issue
Block a user