title: Doctrine Migrations and Fixtures: Getting entities loaded in a migration from a fixture
body: <p>I have a site that uses both Doctrine Migrations and Fixtures successfully (awesome features!), however I am having a small issue. </p>
  
  <p>I have added a table and a new foreign key field to that table in an existing entity. The migration populates the new table with its initial values. </p>
  
  <p>In my fixture that loads data for the table with the foreign key, I need to set the field to one of the values created in the migration, but I can't seem to get any entities out of that repository. </p>
  
  <p>Any ideas why that would be happening, or a suggestion as to how I should be doing this differently. </p>
  
  <p>The fixture implements the <code>ContainerAwareInterface</code> so that I have access to the entities repository, but doing:</p>
  
  <pre><code>$repo = $this-&gt;container-&gt;get('doctrine')
      -&gt;getRepository('myCoreBundle:StoryStatus');
  $statuses = $repo-&gt;findAll();
  print_r($statuses);
  </code></pre>
  
  <p>returns nothing, even though I can see there are values in the DB at this point. </p>