add files uuid

This commit is contained in:
Jürgen Mummert
2026-01-12 09:35:46 +01:00
parent 17188537bc
commit 579f58b614
+6 -1
View File
@@ -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