diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2024-09-02 13:43:00 +0000 |
|---|---|---|
| committer | Murtaza Sultani <sultani@data-quest.de> | 2024-09-17 16:42:23 +0200 |
| commit | fb331a0bbc42325bd4837a8365e7beaa260984e0 (patch) | |
| tree | a9aee167e38be405f72cce3dd4842cfd32dad2c8 | |
| parent | ae0937df4cba67860da9172ea704515c30e38e01 (diff) | |
corrected migration number for StEP 3745, re #3745
Merge request studip/studip!3355
| -rw-r--r-- | db/migrations/6.0.14_add_prevent_root_folder_upload_by_students_in_courses_config.php (renamed from db/migrations/5.9.1_add_prevent_root_folder_upload_by_students_in_courses_config.php) | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/migrations/5.9.1_add_prevent_root_folder_upload_by_students_in_courses_config.php b/db/migrations/6.0.14_add_prevent_root_folder_upload_by_students_in_courses_config.php index 83377ce..d21c9ad 100644 --- a/db/migrations/5.9.1_add_prevent_root_folder_upload_by_students_in_courses_config.php +++ b/db/migrations/6.0.14_add_prevent_root_folder_upload_by_students_in_courses_config.php @@ -20,6 +20,9 @@ class AddPreventRootFolderUploadByStudentsInCoursesConfig extends Migration UNIX_TIMESTAMP(), UNIX_TIMESTAMP(), 'Studierende können im Dateibereich einer Veranstaltung auf der Ebene des Hauptordners keine Dateien hochladen.')" ); + //This migration initially had the number 5.9.1 when it went into the main branch. + //To fix this error, the migration branch must be deleted: + DBManager::get()->exec("DELETE FROM `schema_version` WHERE `branch` = '5.9'"); } protected function down() |
