Skip to content

Instantly share code, notes, and snippets.

@unlocomqx
Created April 7, 2016 20:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unlocomqx/9dc585eab82432853a87e8e2b4974f0e to your computer and use it in GitHub Desktop.
Save unlocomqx/9dc585eab82432853a87e8e2b4974f0e to your computer and use it in GitHub Desktop.
ALTER TABLE `PREFIX_cart_product` ADD `id_customization` INT(10) NOT NULL DEFAULT 0 AFTER `id_product_attribute`;
ALTER TABLE `PREFIX_cart_product` DROP PRIMARY KEY, ADD PRIMARY KEY (`id_cart`, `id_product`, `id_product_attribute`, `id_customization`, `id_address_delivery`);
ALTER TABLE `PREFIX_order_detail` ADD `id_customization` INT(10) NULL DEFAULT 0 AFTER `product_attribute_id`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment