feat(outlook): fix calendar sync format and enable bidirectional task-to-outlook scheduling
This commit is contained in:
+6
-1
@@ -118,7 +118,12 @@ function ensure_tables_exist(PDO $pdo): void {
|
||||
// Controleer of de hoofdtabel 'users' al bestaat
|
||||
$result = $pdo->query("SHOW TABLES LIKE 'users'");
|
||||
if ($result && $result->rowCount() > 0) {
|
||||
// Tabellen bestaan al! Geen actie nodig.
|
||||
// Tabellen bestaan al. Voer eventuele niet-destructieve kolom-upgrades uit indien nodig
|
||||
try {
|
||||
$pdo->exec("ALTER TABLE tasks MODIFY external_id VARCHAR(255) NULL");
|
||||
} catch (Throwable $t) {
|
||||
// Kolom bestaat wellicht al of heeft al de juiste lengte
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user