test fix for sku variant values
CI / testsuite (mysql, 8.2, ) (push) Failing after 6m28s Details
CI / testsuite (mysql, 8.4, ) (push) Successful in 10m28s Details
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Failing after 6m6s Details
CI / Coding Standard & Static Analysis (push) Failing after 5m52s Details

This commit is contained in:
Brandon Shipley 2025-09-10 22:09:15 -07:00
parent 71c038a9a0
commit 4d98343653
Signed by: bmfs
GPG Key ID: 14E38571D8BB0DE4
1 changed files with 8 additions and 0 deletions

View File

@ -65,6 +65,14 @@ class ProductSkusTable extends Table
'foreignKey' => 'product_id',
'joinType' => 'INNER',
]);
$this->hasMany('ProductSkuVariantValues', [
'foreignKey' => 'product_sku_id',
'className' => 'CakeProducts.ProductSkuVariantValues',
'saveStrategy' => 'replace',
'dependent' => true,
'cascadeCallbacks' => true,
]);
}
/**