Unknown column 'parent' in 'where clause

I am getting the error 'Unknown column ‘parent’ in ‘where clause’ on all doctypes when I update/create after migrating to v14. I know 14 removes the field when not a child dotype, however I failed to trace the error…

Any help appreciated

ps: bench migrate did not help

turns out to be a silly corner case and nothing to do with v14: if you have a field in your child doctype, for eg location, do not name the calling table field on the parent the same name (location)