Skip to content

Commit b6c05ac

Browse files
committed
hotfix for tos migration
1 parent c72ade5 commit b6c05ac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

migrations/034_update_tos.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ function up()
2525
'value' => $tos
2626
]);
2727

28-
$db->exec('ALTER TABLE oc_config DROP IF EXISTS tos');
28+
try {
29+
$db->exec('ALTER TABLE oc_config DROP tos');
30+
} catch (PDOException $e) {}
2931

3032
$db->exec("UPDATE config
3133
SET description = 'Müssen Lehrende einem Datenschutztext zustimmen, bevor sie das Opencast-Plugin in einer Veranstaltung verwenden können?'

0 commit comments

Comments
 (0)