From 26573f22102e00eeaf9122b60c8c98bc7d588ec1 Mon Sep 17 00:00:00 2001 From: Vladislav Kopnin Date: Mon, 26 Oct 2026 17:57:12 +0300 Subject: [PATCH] revert: keep feature-branch migration out of master V10 belongs to the unfinished groups/courses branch and must not be pulled into master. Production already has V11/V12 applied; master starts with that migration history without V10 and without out-of-order mode. --- .../progress-service/src/main/resources/application.yml | 3 --- .../main/resources/db/migration/V10__profile_authors.sql | 7 ------- 2 files changed, 10 deletions(-) delete mode 100644 services/progress-service/src/main/resources/db/migration/V10__profile_authors.sql diff --git a/services/progress-service/src/main/resources/application.yml b/services/progress-service/src/main/resources/application.yml index 8ef071c..c9d0dbf 100644 --- a/services/progress-service/src/main/resources/application.yml +++ b/services/progress-service/src/main/resources/application.yml @@ -24,9 +24,6 @@ spring: schemas: progress default-schema: progress create-schemas: true - # V10 пришла из feature-ветки позже уже применённых V11/V12. - # Она безопасна для применения после них (добавляет колонки автора и индекс). - out-of-order: true management: endpoints: web: diff --git a/services/progress-service/src/main/resources/db/migration/V10__profile_authors.sql b/services/progress-service/src/main/resources/db/migration/V10__profile_authors.sql deleted file mode 100644 index 722fa22..0000000 --- a/services/progress-service/src/main/resources/db/migration/V10__profile_authors.sql +++ /dev/null @@ -1,7 +0,0 @@ --- Автор комментария и последнего изменения оценки — для профиля студента курса. --- Старые записи остаются без автора и отображаются как «автор не указан». -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);