fix: syntax

This commit is contained in:
Gregor Kleen 2019-09-19 18:26:37 +02:00
parent d79dca6be9
commit 7afd569eaa

View File

@ -527,7 +527,7 @@ customMigrations = Map.fromListWith (>>)
, whenM (tableExists "exam") $ do
oldVersion <- columnExists "exam" "grading_key"
if
| oldVersion ->
| oldVersion -> do
-- Major changes happend to the structure of exams without appropriate
-- migration, try to remedy that here
tableDropEmpty "exam_part_corrector"