Erro.
SQLSTATE[HY000]: General error: 8 attempt to write a readonly database
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity()
*/
class Medico
{
/**
* @ORM\Id
*@ORM\GeneratedValue
*@ORM\Column(type="integer")
*/
public $id;
/**
* @ORM\Column(type="integer")
*/
public $crm;
/**
* @ORM\Column(type="string")
*/
public $nome;
}