title: Symfony2 and Doctrine: The table with name 'blog.post' already exists.
body: <p>i working with Symfony2 and Doctrine ORM using MySql.
  When i try uo use:      </p>
  
  <pre><code> php app/console doctrine:migration:diff       
  </code></pre>
  
  <p>i have this error:</p>
  
  <pre><code>[Doctrine\DBAL\Schema\SchemaException]           
   The table with name 'blog.post' already exists.
  </code></pre>
  
  <p>My code in Post.php (i use annotation) is:
        
  
  <pre><code> namespace Blog\ModelBundle\Entity;
  
   use Doctrine\ORM\Mapping as ORM;
   use Symfony\Component\Validator\Constraints as Assert;
  
   /**
   * Post
   *
   * @ORM\Table()
   * @ORM\Entity
   */
   class Post extends Timestampable
   {
   /**
   * @var integer
   *
   * @ORM\Column(name="id", type="integer")
   * @ORM\Id
   * @ORM\GeneratedValue(strategy="AUTO")
   */
  private $id;
  
  /**
   * @var string
   *
   * @ORM\Column(name="title", type="string", length=150)
   * @Assert\NotBlank
   */
  private $title;
  
  /**
   * @var string
   *
   * @ORM\Column(name="body", type="text")
   * @Assert\NotBlank
   */
  private $body;
  
  /**
   * @var Author
   * @ORM\ManyToOne (targetEntity="Author", inversedBy="posts")
   * @ORM\JoinColumn (name="author_id", referencedColumnName="id", nullable=false)
   * @Assert\NotBlank
   */
  private $author;
  
  
  /**
   * Get id
   *
   * @return integer 
   */
  public function getId()
  {
      return $this-&gt;id;
  }
  
  /**
   * Set title
   *
   * @param string $title
   * @return Post
   */
  public function setTitle($title)
  {
      $this-&gt;title = $title;
  
      return $this;
  }
  
  /**
   * Get title
   *
   * @return string 
   */
  public function getTitle()
  {
      return $this-&gt;title;
  }
  
  /**
   * Set body
   *
   * @param string $body
   * @return Post
   */
  public function setBody($body)
  {
      $this-&gt;body = $body;
  
      return $this;
  }
  
  /**
   * Get body
   *
   * @return string 
   */
  public function getBody()
  {
      return $this-&gt;body;
  }
  
  
  /**
   * Set author
   *
   * @param \Blog\ModelBundle\Entity\Author $author
   * @return Post
   */
  public function setAuthor(Author $author)
  {
      $this-&gt;author = $author;
  
      return $this;
  }
  
  /**
   * Get author
   *
   * @return \Blog\ModelBundle\Entity\Author 
   */
  public function getAuthor()
  {
      return $this-&gt;author;
  }
   }
  </code></pre>
  
  <p>I try to define * @ORM\Table(name="Post"). </p>
  
  <p>Can you help me with this type of error.
  Sorry for my bad english.</p>