title: Add TINYINT to Doctrine SQL types
body: <p>Following Symfony doc, I tried to add <code>TINYINT</code> as entity column type.</p>
  <p>So far it works well, but two problem remain...</p>
  <ol>
  <li><p>Each time I want to perform a migration, Doctrine can't reconize <code>TINYINT</code> for the associated columns, and perform the migration queries again.</p>
  </li>
  <li><p>In form builders, by default <code>TINYINT</code> is reconized as <code>TextType</code> and not <code>NumberType</code></p>
  </li>
  </ol>
  <p>Do you know what I'm missing to fix those two issues?</p>
  <p><strong><code>TinyintType.php</code></strong></p>
  <pre class="lang-php prettyprint-override"><code>use Doctrine\DBAL\ParameterType;
  use Doctrine\DBAL\Platforms\AbstractPlatform;
  use Doctrine\DBAL\Types\Type;
  
  class TinyintType extends Type {
      const TINYINT='tinyint';
  
      /**
       * @return string
       */
      public function getName() {
          return self::TINYINT;
      }
  
      /**
       * @param array $fieldDeclaration
       * @param AbstractPlatform $platform
       * @return string
       */
      public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) {
          return $fieldDeclaration['unsigned'] === true ? 'TINYINT(1) UNSIGNED' : 'TINYINT(1)';
      }
  
      public function canRequireSQLConversion() {
          return true;
      }
  
      /**
       * @param $value
       * @param AbstractPlatform $platform
       * @return int|null
       */
      public function convertToPHPValue($value, AbstractPlatform $platform) {
          return $value === null ? null : (int)$value;
      }
  
      /**
       * @param mixed $value
       * @param AbstractPlatform $platform
       * @return int|mixed|null
       */
      public function convertToDatabaseValue($value, AbstractPlatform $platform) {
          return $value === null ? null : (int)$value;
      }
  
      /**
       * @return int
       */
      public function getBindingType() {
          return ParameterType::INTEGER;
      }
  }
  </code></pre>
  <p><strong><code>doctrine.yaml</code></strong></p>
  <pre class="lang-yaml prettyprint-override"><code>doctrine:
      dbal:
          url: '%env(resolve:DATABASE_URL)%'
          server_version: '5.7'
          types:
              tinyint: 'App\Doctrine\DBAL\Types\TinyintType'
      orm:
          auto_generate_proxy_classes: true
          naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
          auto_mapping: true
          mappings:
              App:
                  is_bundle: false
                  type: annotation
                  dir: '%kernel.project_dir%/src/Entity'
                  prefix: 'App\Entity'
                  alias: App
  </code></pre>