title: Doctrine issue (mappings inconsistent)
body: <p>I'm busy with a project in Symfony and I'm just checking the profiler tab and seeing 2 errors continuously popping up - they are below. </p>
  
  <pre><code>The mappings MyBundle\MainBundle\Entity\School#provinceId and MyBundle\MainBundle\Entity\Province#schools are incosistent with each other.
  
  The association MyBundle\MainBundle\Entity\School#grades refers to the owning side field MyBundle\MainBundle\Entity\Grade#school_id which does not exist.
  </code></pre>
  
  <p>I'm getting a couple more of these and I can't understand why? What does it mean by "incosistent" (see what I did there)? Parts of my code is below if it's helpful. </p>
  
  <p>In Province.php</p>
  
  <pre><code>/**
    * @ORM\OneToMany(targetEntity="School", mappedBy="provinceId")
   */ 
  private $schools;
  </code></pre>
  
  <p>and in my Schools.php</p>
  
  <pre><code>/**
   * @var integer
   *
   * @ORM\ManyToOne(targetEntity="Province", inversedBy="schools")
   * @ORM\JoinColumn(name="province_id", referencedColumnName="id")
   */
  private $provinceId;
  </code></pre>
  
  <p>And for the second error...</p>
  
  <p>School.php</p>
  
  <pre><code>/**
   * @ORM\OneToMany(targetEntity="Grade", mappedBy="school_id")
   */
  private $grades;
  </code></pre>
  
  <p>and Grade.php</p>
  
  <pre><code>/**
   * @var integer
   *
   * @ORM\ManyToOne(targetEntity="School", inversedBy="grades")
   * @ORM\JoinColumn(name="school_id", referencedColumnName="id")
   */
  private $schoolId;
  </code></pre>
  
  <p>I just want to know what these errors mean exactly and why these entities aren't right - I tried following the docs off the doctrine page but apparently I went wrong somewhere!</p>
  
  <p>Thanks for any help!</p>