php bin/magento setup:upgrade 报错
1.find setup_module table name in database
2.then find the row which contains the name of your module
3.delete the row containing the old module only (when you run setup:upgrade it will automatically be re-generated)
4.run the command bin/magento setup:upgrade
I hope now your get fixed. for any clarification mention in comment
Reason: your old module information already exist, so whenever you run, its get conflict.After removing old module information its successfully get upgrade.
have good luck.