Add is_required column to pp_shop_products_custom_fields table
This commit introduces a new column `is_required` to the `pp_shop_products_custom_fields` table. The column is of type TINYINT, cannot be null, and has a default value of 1. This change is intended to enhance the product custom fields by allowing the specification of whether a field is mandatory.
This commit is contained in:
BIN
updates/0.20/ver_0.229.zip
Normal file
BIN
updates/0.20/ver_0.229.zip
Normal file
Binary file not shown.
1
updates/0.20/ver_0.229_sql.txt
Normal file
1
updates/0.20/ver_0.229_sql.txt
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `pp_shop_products_custom_fields` ADD COLUMN `is_required` TINYINT NOT NULL DEFAULT 1 AFTER `name`;
|
||||
Reference in New Issue
Block a user