Migration from SQL table with no ids I'm trying to migrate from a SQL table using migrate module.
The fields in the table are a unique file hash (media), an url, a drupal internal path.
In the class extending SqlBase I have this function:

  public function getIds() {
    // The row property that represent the unique id for the id map.
    $ids['media'] = array(
        'type' =&gt; 'integer',
        'alias' =&gt; 'm');
    return $ids;
  }


It seems that migrate only accepts integers and requires ids to fill its migration map.
Is there a way to migrate with a string hash or without any id?
You do have to have an ID - and you can use your hash here simply by defining it with 'type' => 'string'.