fond-of-impala/allowed-product-quantity

Allowed product quantity module

1.0.0 2024-01-12 06:08 UTC

This package is not auto-updated.

Last update: 2024-04-20 08:55:30 UTC


README

CI license

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!