Release: LMW delta sync hardening, CTAG windowing, calendar matching guard

This commit is contained in:
Jürgen Mummert
2026-03-28 16:59:58 +01:00
parent c6f63a56a9
commit c0d3bf4c82
15 changed files with 775 additions and 171 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
declare(strict_types=1);
namespace Mummert\CalDavSyncBundle\Migration;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20260328090000 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add CTAG cache and sync window fields to tl_calendar';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE tl_calendar ADD caldavSyncCtags BLOB DEFAULT NULL');
$this->addSql("ALTER TABLE tl_calendar ADD caldavPastSyncRange VARCHAR(8) NOT NULL DEFAULT '1y'");
$this->addSql("ALTER TABLE tl_calendar ADD caldavFutureSyncRange VARCHAR(8) NOT NULL DEFAULT '2y'");
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE tl_calendar DROP caldavFutureSyncRange');
$this->addSql('ALTER TABLE tl_calendar DROP caldavPastSyncRange');
$this->addSql('ALTER TABLE tl_calendar DROP caldavSyncCtags');
}
}