remove variant type id (enum) from variants table, use internal id for category field on variants form

This commit is contained in:
2025-06-30 21:25:47 -07:00
parent 5fb215c7fd
commit c9d34f7115
8 changed files with 10 additions and 52 deletions

View File

@@ -23,7 +23,6 @@ class ProductCategoryVariantsFixture extends TestFixture
'name' => 'Color',
'product_category_id' => '6d223283-361b-4f9f-a7f1-c97aa0ca4c23',
'product_id' => null,
'variant_type_id' => 1,
'enabled' => 1,
],
[
@@ -31,9 +30,9 @@ class ProductCategoryVariantsFixture extends TestFixture
'name' => 'Color',
'product_category_id' => '6d223283-361b-4f9f-a7f1-c97aa0ca4c23',
'product_id' => 'cfc98a9a-29b2-44c8-b587-8156adc05317',
'variant_type_id' => 1,
'enabled' => 1,
],
];
parent::init();
}