title: Yii2 - migration, a foreign key constraint fails
body: <p>I use migration, created up() like that:</p>
  
  <pre><code>$this-&gt;addColumn('presentation_place', 'user_id', $this-&gt;integer()-&gt;notNull()-&gt;after('post_code'));
  $this-&gt;addForeignKey('fk_presentation_place_user_id', 'presentation_place', 'user_id', 'user', 'id', 'CASCADE', 'CASCADE');
  </code></pre>
  
  <p>And while yii/migrate I'm getting error </p>
  
  <blockquote>
    <p>Cannot add or update a child row: a foreign key constraint fails
    ('crm'.'#sql-1524_46f', CONSTRAINT 'fk_presentation_place_user_id'
    FOREIGN KEY ('user_id') REFERENCES 'user' ('id') ON DELETE CASCADE ON
    UPDATE CASCADE)</p>
  </blockquote>
  
  <p>I don't know what can be wrong, I've done migrations couple of times before, so I'm really surprised.</p>