has many sku variant values on category variants table
CI / testsuite (mysql, 8.2, ) (push) Successful in 11m9s Details
CI / testsuite (mysql, 8.4, ) (push) Successful in 10m31s Details
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Failing after 6m10s Details
CI / Coding Standard & Static Analysis (push) Failing after 5m52s Details

This commit is contained in:
Brandon Shipley 2025-09-23 02:09:17 -07:00
parent 5b38de39fc
commit fd0f9efa28
Signed by: bmfs
GPG Key ID: 14E38571D8BB0DE4
1 changed files with 7 additions and 0 deletions

View File

@ -71,6 +71,13 @@ class ProductCategoryVariantsTable extends Table
'dependent' => true,
'cascadeCallbacks' => true,
]);
$this->hasMany('ProductSkuVariantValues', [
'foreignKey' => 'product_category_variant_id',
'className' => 'CakeProducts.ProductSkuVariantValues',
'dependent' => true,
'cascadeCallbacks' => true,
]);
}
/**