Get product_categories inserting and product import fully running

This commit is contained in:
2025-01-25 17:32:09 -05:00
parent 2d52d7a63e
commit b1a5671531
2 changed files with 179 additions and 348 deletions

View File

@@ -62,7 +62,7 @@ CREATE TABLE products (
-- Create categories table with hierarchy support
CREATE TABLE categories (
cat_id BIGINT AUTO_INCREMENT PRIMARY KEY,
cat_id BIGINT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
type SMALLINT NOT NULL COMMENT '10=section, 11=category, 12=subcategory, 13=subsubcategory, 1=company, 2=line, 3=subline, 40=artist',
parent_id BIGINT,