_getPortableTableForeignKeysList fix