bugfix EntityTable::getSchema