title: How to rename a table in Symfony 3/Doctrine?
body: <p>I want to change a table from <code>order</code> to <code>shop_order</code>. First I alter the table name in phpmyadmin.</p>
  
  <p>Furthermore I would have guessed, that changing the annotations would be sufficient:</p>
  
  <pre><code>/**
   * Order
   *
   * @ORM\Table(name="shop_order")
   * @ORM\Entity
   */
  class Order { ...
  </code></pre>
  
  <p>But when running </p>
  
  <pre><code>php bin/console doctrine:schema:update --dump-sql
  </code></pre>
  
  <p>It tries to create the table again:</p>
  
  <pre><code>CREATE TABLE `order` (id INT AUTO_INCREMENT NOT NULL ...
  </code></pre>
  
  <p>Is there any other file I need to change?</p>