Files
shopPRO/updates/0.20/ver_0.229_sql.txt
Jacek Pyziak ef15f16e18 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.
2025-08-19 20:31:44 +02:00

1 line
110 B
Plaintext

ALTER TABLE `pp_shop_products_custom_fields` ADD COLUMN `is_required` TINYINT NOT NULL DEFAULT 1 AFTER `name`;