Skip to main content
1 of 2

Magento 2: Error in setup:upgrade in magento 2

I am getting the following error during setup:upgrade:

Column not found: 1054 Unknown column 'entity_id' in 'NEW' 

Can anyone please help me to know how to resolve this error.
Thanks in advance.