I have created my custom module to add more attributes for customers.
The InstallData.php
worked perfectly for the first time and added all the attributes I wanted.
However, I need to add more attributes. I updated my InstallData.php
and run php bin/magento setup:upgrade
, but the new attributes are not added.
What did I miss in this problem?
Best Answer
Delete your module from
setup_module
table and runphp bin/magento setup:upgrade