After bench migration, Ver 11 staging branch error

After migration to ver 11,i get error on Patient Appointment screen

InternalError: (1054, u"Unknown column ‘tabPatient Appointment.appointment’ in ‘where clause’")

How do i fix these ?

Hi
Try 3 ways
#1 bench migrate
#2 find . -name “*.pyc” -exec rm -f {} ;
#3 use custom form to add “appointment” field.

isn’t there missing a backslash before the semicolon?

find . -name “*.pyc” -exec rm -f {} \;

1 Like

This expression may be less problematic - either single or double quotes work

frappe@erpnext:~/frappe-bench/apps/frappe$ find . -name '*.pyc' | xargs rm -f
1 Like

Tried but not working

Have you determined whether the column is in fact missing?

i clean installed to later version(ERPNext: v11.0.3-beta.34 () (staging)

Frappe Framework: v11.0.3-beta.49 () (staging))

and restored db . the error message is reduced now