ids-svc-product/scripts/sql
BXY 6f6887f0d2 Refactor product category schema and server logic
- Updated the product_category table schema to remove tenant_id and store_id, and added new fields: priority, rule_id, category_type, channel_list, has_children, has_prop_required, extra, cert_status_code, cert_status_pass, and cert_status_msg.
- Modified SQL scripts to drop and recreate product_category and product_category_bindings tables with the new schema.
- Refactored the ProductServer methods to remove store scope requirements and adjust to the new product category structure.
- Updated error handling and validation in Create, Update, and Delete product category methods.
- Added new patch handling for product categories to accommodate the updated schema.
- Introduced a new SQL script to rebuild the standard product category tree, ensuring a clean migration to the new structure.
2026-10-08 14:56:54 +08:00
..
02-product-schema.sql feat: add product category validation and update product list filter to use ProductCategoryID 2026-10-07 19:40:07 +08:00
006_rebuild_standard_product_category_tree.sql Refactor product category schema and server logic 2026-10-08 14:56:54 +08:00
add-product-item-supply-price.sql feat: add supply price to SKU records and update related database schema 2026-09-24 15:27:21 +08:00
add-product-list-filter-indexes.sql feat: add product category validation and update product list filter to use ProductCategoryID 2026-10-07 19:40:07 +08:00
create-inventory-adjustments.sql feat(product): implement inventory adjustment functionality with confirm and release actions 2026-09-05 15:22:16 +08:00
migrate-category-image-ids.sql feat(product): migrate category images to image_ids array 2026-07-16 11:38:50 +08:00
migrate-product-status-and-sku-archive.sql feat(product): support product lifecycle updates and archived SKU replacement 2026-08-06 11:09:46 +08:00
recreate-product-tables.sql feat: add product category validation and update product list filter to use ProductCategoryID 2026-10-07 19:40:07 +08:00
rename-inventory-stock-quantity.sql refactor(product): rename available_quantity to stock_quantity across the codebase 2026-09-05 13:49:11 +08:00