From 579f58b614968f0e5dc43c011cb88f45653bfa92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Mummert?= Date: Mon, 12 Jan 2026 09:35:46 +0100 Subject: [PATCH] add files uuid --- src/Resources/contao/dca/tl_search_files.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Resources/contao/dca/tl_search_files.php b/src/Resources/contao/dca/tl_search_files.php index 8fdc052..b8c7a9c 100644 --- a/src/Resources/contao/dca/tl_search_files.php +++ b/src/Resources/contao/dca/tl_search_files.php @@ -12,7 +12,8 @@ $GLOBALS['TL_DCA']['tl_search_files'] = [ 'url' => 'unique', 'type' => 'index', 'checksum' => 'index', - 'last_seen' => 'index', // ⬅️ NEU (für Cleanup-Performance) + 'uuid' => 'index', + 'last_seen' => 'index', ], ], ], @@ -63,6 +64,10 @@ $GLOBALS['TL_DCA']['tl_search_files'] = [ 'sql' => "mediumtext NULL", ], + 'uuid' => [ + 'sql' => "binary(16) NULL", + ], + /* * md5(url + filemtime) * → erkennt Änderungen zuverlässig