chore: keep progress migrations compatible with feature branch

The current local database already has V10 from the groups/courses branch; include it so master can start without a migration history gap.
This commit is contained in:
2026-10-26 17:31:30 +03:00
parent f5ba21b5f5
commit dc13ba3186

View File

@@ -0,0 +1,7 @@
-- Автор комментария и последнего изменения оценки — для профиля студента курса.
-- Старые записи остаются без автора и отображаются как «автор не указан».
ALTER TABLE grade_comments ADD COLUMN author_account_id uuid;
ALTER TABLE lab_grades ADD COLUMN updated_by_account_id uuid;
-- Комментарии уже индексированы grade_comments_grade_idx (student_id, lab_id).
CREATE INDEX lab_grades_lab_idx ON lab_grades (lab_id);