fond-of-impala / allowed-product-quantity
Allowed product quantity module
1.0.0
2024-01-12 06:08 UTC
Requires
- php: >=8.0
- spryker/product: ^6.0.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-12-14 11:52:52 UTC
README
Module was migrated from fond-of-spryker/allowed-product-quantity
. Please read below for migration instruction!
Installation
composer require fond-of-impala/allowed-product-quantity
Migration
To prevent losing data, please rename db data like
do
$$
begin
ALTER TABLE fos_allowed_product_quantity RENAME CONSTRAINT "fos_allowed_product_quantity-fk_product_abstract" TO "foi_allowed_product_quantity-fk_product_abstract";
ALTER TABLE foi_allowed_product_quantity RENAME CONSTRAINT "fos_allowed_product_quantity-unique-fk_product_abstract" TO "foi_allowed_product_quantity-unique-fk_product_abstract";
ALTER TABLE fos_allowed_product_quantity RENAME TO foi_allowed_product_quantity;
end
$$;
You can use also the fond-of-oryx/propel-pre-migration
package for migration. Just use the package and create migration file with the above content!