feat: Implement AI-generated Role Playing and Hotspot interactive content blocks with UI and service integration.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
-- Migration: Add block_id to chat_sessions to link sessions to specific Role-Playing blocks
|
||||
ALTER TABLE chat_sessions ADD COLUMN block_id UUID;
|
||||
CREATE INDEX idx_chat_sessions_block_id ON chat_sessions(block_id);
|
||||
@@ -0,0 +1,2 @@
|
||||
-- Migration: Sync content_blocks to lessons table (LMS)
|
||||
ALTER TABLE lessons ADD COLUMN IF NOT EXISTS content_blocks JSONB DEFAULT NULL;
|
||||
Reference in New Issue
Block a user