title: How to bypass error "Invalid type "json_array""
body: <p>I have an entity:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Entity\Aero;
  
  use Doctrine\ORM\Mapping as ORM;
  
  /**
   * @ORM\Entity(repositoryClass="App\Repository\Aero\ScheduleRepository")
   */
  class Schedule
  {
      /**
       * @ORM\Id()
       * @ORM\GeneratedValue()
       * @ORM\Column(type="integer")
       */
      private $id;
  
      /**
       * @ORM\Column(type="date")
       */
      private $dateOfFlight;
  
      /**
       * @ORM\Column(type="json")
       */
      private $timeOfFlightAndStations = [];
  
      public function getId(): ?int
      {
          return $this-&gt;id;
      }
  
      public function getDateOfFlight(): ?\DateTimeInterface
      {
          return $this-&gt;dateOfFlight;
      }
  
      public function setDateOfFlight(\DateTimeInterface $dateOfFlight): self
      {
          $this-&gt;dateOfFlight = $dateOfFlight;
  
          return $this;
      }
  
      public function getTimeOfFlightAndStations(): ?array
      {
          return $this-&gt;timeOfFlightAndStations;
      }
  
      public function setTimeOfFlightAndStations(array $timeOfFlightAndStations): self
      {
          $this-&gt;timeOfFlightAndStations = $timeOfFlightAndStations;
  
          return $this;
      }
  }
  </code></pre>
  
  <p>When I try to add field with type json_array via <code>con make:entity</code> it shows me error:</p>
  
  <pre><code>[ERROR] Invalid type "json_array".
  </code></pre>
  
  <p>My computer says that type "json_array" is invalid, but also says that it is in the list of valid types. How is it possible?</p>
  
  <p>Please, help me, how to deal with this error?</p>