Error Deleting Journal Entry: Unknown Column 'parenttype' in Database Query

I’m encountering an issue when trying to delete a Journal Entry document in ERPNext. The error message I receive is:

pymysql.err.OperationalError: (1054, "Unknown column 'parenttype' in 'field list'")

migrate your site once and then try again. Use the command: bench migrate.