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:
2025-08-19 20:31:44 +02:00
parent 84333c1b59
commit ef15f16e18
16 changed files with 137 additions and 28 deletions

BIN
updates/0.20/ver_0.229.zip Normal file

Binary file not shown.

View File

@@ -0,0 +1 @@
ALTER TABLE `pp_shop_products_custom_fields` ADD COLUMN `is_required` TINYINT NOT NULL DEFAULT 1 AFTER `name`;