Touren: Enddatum ergänzen und Dauer im Jahreskalender anzeigen

This commit is contained in:
torsten 2026-11-21 13:29:43 +01:00
parent b92664f80e
commit 3ea18501b8
15 changed files with 521 additions and 22 deletions

View file

@ -155,6 +155,14 @@ foreach ([
}
}
// Touren: Enddatum ergänzen (für mehrtägige Touren)
if (!columnExists($pdo, 'tours', 'end_date')) {
$pdo->exec('ALTER TABLE `tours` ADD COLUMN `end_date` date NULL DEFAULT NULL AFTER `start`');
$out("Spalte 'tours.end_date' angelegt");
} else {
$out("Spalte 'tours.end_date' existiert bereits");
}
// Tour-Chat: Nachrichten
if (!tableExists($pdo, 'tour_messages')) {
$pdo->exec('CREATE TABLE `tour_messages` (