fix: declare importer-written date columns as passthrough

This commit is contained in:
2026-09-10 11:50:38 +02:00
parent 46001a02ed
commit 6828e49663
@@ -144,6 +144,57 @@ return [
'type' => 'passthrough', 'type' => 'passthrough',
], ],
], ],
// Denormalized columns written by DateImportService, which rebuilds this table
// wholesale. They are TEXT NOT NULL, and MySQL cannot default that, so without a
// TCA entry DataHandler omits them and every INSERT fails under STRICT_TRANS_TABLES.
'product_keywords' => [
'exclude' => true,
'config' => [
'type' => 'passthrough',
],
],
'product_teaser' => [
'exclude' => true,
'config' => [
'type' => 'passthrough',
],
],
'concept_popup_text' => [
'exclude' => true,
'config' => [
'type' => 'passthrough',
],
],
'country_keywords' => [
'exclude' => true,
'config' => [
'type' => 'passthrough',
],
],
'region_keywords' => [
'exclude' => true,
'config' => [
'type' => 'passthrough',
],
],
'city_keywords' => [
'exclude' => true,
'config' => [
'type' => 'passthrough',
],
],
'hotel_keywords' => [
'exclude' => true,
'config' => [
'type' => 'passthrough',
],
],
'hotel_teaser' => [
'exclude' => true,
'config' => [
'type' => 'passthrough',
],
],
'bus_pro_id' => [ 'bus_pro_id' => [
'exclude' => false, 'exclude' => false,
'label' => 'BusPro ID', 'label' => 'BusPro ID',