Issue #2366877 by alexpott: Fixed Entity Reference field schema incorrect.