title: MySQL / MariaDB not accepting JSON Format? Can not create Database
body: <p>I am currently using XAMPP/Apache with MariaDB on phpmyadmin.
  I am trying to create a table based on my code using Doctrine and therefore Annotations for validating a form. I simply want to store the entered values from the form in the database.
  In another example this worked perfectly fine.</p>
  
  <p>But now i am having a "Checkbox field" that i guess is causing some kind of trouble when creating the database.</p>
  
  <p>I am using those commands in the console:</p>
  
  <pre><code>php bin/console make:migration
  </code></pre>
  
  <p>Afterwards:</p>
  
  <pre><code>php bin/console doctrine:migrations:migrate
  </code></pre>
  
  <p>When calling the 2nd one = when i try to create the table in my database i get the following errors:</p>
  
  <pre><code>Migration 20181121103017 failed during Execution. 
  Error An exception occurred while executing 'CREATE TABLE pizza (id INT 
  AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, address VARCHAR(255) NOT NULL
  phone VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL, 
  size INT NOT NULL, ingredient JSON NOT NULL COMMENT '(DC2Type:json_array)', delivery INT NOT NULL, 
  PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB':
  
  
  SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in 
  your SQL syntax; check the manual that
  corresponds to your MariaDB server version for the right syntax to use near 
  'JSON NOT NULL COMMENT '(DC2Type:json_
  array)', delivery INT NOT NULL, PRIMARY KEY' at line 1
  </code></pre>
  
  <p>I am really not knowing what i am doing wrong at this point.</p>
  
  <p>These are my annotations i have in my "Pizza.php" File.</p>
  
  <pre><code>// ------------------
  
  /**
   * @Assert\NotBlank(
   *     message = "E-Mail Address required"
   * )
   * @Assert\Email(
   *     message = "The email '{{ value }}' is not a valid email."
   * )
   * @Assert\Length(min="2", max="255")
   * @ORM\Column(type="string", length=255)
   */
  
  protected $email;
  
  // ------------------
  
  /**
   * @Assert\Range(min=0, max=3)
   * @ORM\Column(type="integer")
   */
  
  protected $size;
  
  // ------------------
  
  /**
   *@Assert\NotBlank(
   *     message = "Choose at least 1 ingredient!"
   * )
   * @ORM\Column(type="array")
   */
  
  protected $ingredient;
  
  // ------------------
  
  /**
   * @Assert\NotBlank(
   *     message = "Choose a delivery option!"
   * )
   * @Assert\Range(min=0, max=1)
   * @ORM\Column(type="integer")
   */
  
  protected $delivery;
  </code></pre>
  
  <p>The form itself is working perfectly fine, the validations do work the way i intended.</p>
  
  <p>What exactly am i doing wrong?</p>
  
  <p>If you need any more code from my "Pizza.php" (Entity Class) or my Controller File where i did my routing please let me know. </p>
  
  <p>I am grateful for any help! </p>