title: How to change the data type of a column from STRING to TEXT in ORM Symfony 4?
body: <p>I have my table information defined via the annotation of the entity. So I would like to change the following column to a TEXT instead of a STRING. So I had this:</p>
  
  <pre><code>    /**
       * @ORM\Column(type="string", length=255)
       */
      private $category;
  </code></pre>
  
  <p>And I changed it to this:</p>
  
  <pre><code>    /**
       * @ORM\Column(type="text")
       */
      private $category;
  </code></pre>
  
  <p>I expected it to become a TEXT, so after migrating I checked my database and it says it's a LONGTEXT. I have no idea how this is possible, but before referting my migrations, I would like to know how to make it a TEXT and not a LONGTEXT.</p>
  
  <p>EDIT: I'm looking inside the migration file and I see this:
  <code>$this-&gt;addSql('ALTER TABLE cabinet CHANGE category category LONGTEXT NOT NULL');</code></p>
  
  <p>I never typed LONGTEXT so I have no clue where Doctrine is getting that from.</p>