Abp executes update-database and reports an error

1. Error screenshot

2. Cause of error

In this case, manually deleting a certain field in a certain table of the database is not performed through Add-Migration. So when the update-database is executed, an error is reported

3. Solution:

  •  Add the deleted fields back to the database table, then delete the unnecessary fields in the application entity properties, and execute Add-Migration and update-database again.

Guess you like

Origin blog.csdn.net/weixin_39237340/article/details/126477033