Can't delete host: Error failed to locate the subclass: 'HostStatus::ExecutionStatus'


I can't delete a host in foreman. I get following error

The single-table inheritance mechanism failed to locate the subclass:
'HostStatus::ExecutionStatus'. This error is raised because the column
'type' is reserved for storing the class in case of inheritance. Please
rename this column if you didn't intend it to be used for storing the
inheritance class or overwrite HostStatus::Status.inheritance_column to
use another column for that information.

I got the same error, when I navigate in the All Hosts View to the page
containing this host.
When call the host directly, I see under Properties

Failed to fetch: 500 Internal Server Error

Any ideas for delteing this host ?