Skip to content

Instantly share code, notes, and snippets.

@indapublic
Created December 15, 2016 12:50
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 indapublic/12a77ade68a7c33109c9f75965042ebc to your computer and use it in GitHub Desktop.
Save indapublic/12a77ade68a7c33109c9f75965042ebc to your computer and use it in GitHub Desktop.
sql shopscript
ALTER TABLE `shop_product_reviews` CHANGE `id` `id` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `left_key` `left_key` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `right_key` `right_key` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `depth` `depth` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `parent_id` `parent_id` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `product_id` `product_id` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `review_id` `review_id` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `contact_id` `contact_id` BIGINT(11);
ALTER TABLE `shop_product_reviews` CHANGE `ip` `ip` BIGINT(11);
ALTER TABLE `shop_category` CHANGE `id` `id` BIGINT(11);
ALTER TABLE `shop_category` CHANGE `left_key` `left_key` BIGINT(11);
ALTER TABLE `shop_category` CHANGE `right_key` `right_key` BIGINT(11);
ALTER TABLE `shop_category` CHANGE `depth` `depth` BIGINT(11);
ALTER TABLE `shop_category` CHANGE `parent_id` `parent_id` BIGINT(11);
ALTER TABLE `shop_product` CHANGE `id` `id` BIGINT(11);
ALTER TABLE `shop_product` CHANGE `category_id` `category_id` BIGINT(11);
ALTER TABLE `shop_category_products` CHANGE `product_id` `product_id` BIGINT(11);
ALTER TABLE `shop_category_products` CHANGE `category_id` `category_id` BIGINT(11);
ALTER TABLE `shop_product_skus` CHANGE `id` `id` BIGINT(11);
ALTER TABLE `shop_product_skus` CHANGE `product_id` `product_id` BIGINT(11);
ALTER TABLE `shop_set_products` CHANGE `product_id` `product_id`BIGINT(11);
ALTER TABLE `shop_set_products` CHANGE `product_id` `product_id` BIGINT(11);
ALTER TABLE `shop_product_images` CHANGE `id` `id` BIGINT(11);
ALTER TABLE `shop_product_images` CHANGE `product_id` `product_id` BIGINT(11);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment