Unknown column 'production_order' in 'field list'

Hi,
I have update my system to the version 11.
Then I tried to add new site, install erpnext to this site. And when I run bench migrate I received Unknown column 'production_order' in 'field list' if I remove this patch then other patch’s error will appear.
Can someone please help me?

Hi @NMyshuk,
I had exactly the same issue in an upgrade from v10 to v11. There were many patches that failed, at some point I reverted to using

$ bench reinstall

which clears the database and will set it up with the correct structure. Use with care and make sure to backup your data before!

1 Like

Thank you very much for your answer, I’ll try