aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()