From 897f5a8329886cc69ea5dd6654ba6a4bdf103e21 Mon Sep 17 00:00:00 2001 From: Andreas Svanberg Date: Fri, 1 Nov 2024 14:34:29 +0100 Subject: [PATCH] Allow longer final thesis titles The titles entered are most often the same as the project title. The project title however has no length limit. When such a project tries to upload their final thesis the system will crash because the accepted long project title is rejected as the final thesis title. This change removes the length limit on final thesis titles to bring them to parity with the project title. See OTRS ticket 202411011026 --- .../db/migration/V390__longer_titles_in_final_thesis.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 core/src/main/resources/db/migration/V390__longer_titles_in_final_thesis.sql diff --git a/core/src/main/resources/db/migration/V390__longer_titles_in_final_thesis.sql b/core/src/main/resources/db/migration/V390__longer_titles_in_final_thesis.sql new file mode 100644 index 0000000000..3edeeb923b --- /dev/null +++ b/core/src/main/resources/db/migration/V390__longer_titles_in_final_thesis.sql @@ -0,0 +1,3 @@ +-- Match what project.title allows +ALTER TABLE `FinalThesis` MODIFY `englishTitle` LONGTEXT NULL; +ALTER TABLE `FinalThesis` MODIFY `swedishTitle` LONGTEXT NULL; -- 2.39.5