feat: Implement lesson attempt tracking, retry functionality, and max attempt limits for interactive blocks.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-- Add attempt limits and retry configuration to lessons
|
||||
ALTER TABLE lessons ADD COLUMN max_attempts INTEGER;
|
||||
ALTER TABLE lessons ADD COLUMN allow_retry BOOLEAN NOT NULL DEFAULT TRUE;
|
||||
|
||||
-- Track attempt count in user_grades
|
||||
ALTER TABLE user_grades ADD COLUMN attempts_count INTEGER NOT NULL DEFAULT 1;
|
||||
Reference in New Issue
Block a user