Created
May 5, 2017 06:36
-
-
Save DevertNet/4381682a1c55b407e2a45af8e663dd91 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Important! Change attribute_id ;) | |
*/ | |
insert into catalog_product_entity_varchar (entity_type_id, attribute_id, store_id, entity_id, value) select entity_type_id, attribute_id, store_id, entity_id, value from catalog_product_entity_int where attribute_id = 165; | |
DELETE FROM catalog_product_entity_int WHERE attribute_id = 165; | |
UPDATE eav_attribute SET backend_type='varchar', frontend_input='multiselect', backend_model='eav/entity_attribute_backend_array' WHERE attribute_id = 165; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment