summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/database/Updater.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/database/Updater.java b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/database/Updater.java
index 26bb1856..e3c2e874 100644
--- a/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/database/Updater.java
+++ b/dozentenmodulserver/src/main/java/org/openslx/bwlp/sat/database/Updater.java
@@ -266,7 +266,8 @@ public class Updater {
+ " passcreds tinyint(1) NOT NULL,"
+ " isglobal tinyint(1) NOT NULL COMMENT 'Whether to apply this script to all lectures',"
+ " PRIMARY KEY (runscriptid),"
- + " KEY isglobal (isglobal)"
+ + " KEY isglobal (isglobal),"
+ + " KEY scriptname (scriptname)"
+ ") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci")
.executeUpdate();
LOGGER.info("Updated database: Created table presetrunscript");