change encoding
This commit is contained in:
parent
a5eaec3544
commit
c3473a4045
|
@ -4,7 +4,10 @@ doctrine:
|
|||
|
||||
# IMPORTANT: You MUST configure your server version,
|
||||
# either here or in the DATABASE_URL env var (see .env file)
|
||||
charset: UTF8
|
||||
charset: utf8mb4
|
||||
default_table_options:
|
||||
charset: utf8mb4
|
||||
collate: utf8mb4_unicode_ci
|
||||
#server_version: '5.7'
|
||||
orm:
|
||||
auto_generate_proxy_classes: true
|
||||
|
|
|
@ -10,6 +10,7 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass=MailRepository::class)
|
||||
* @ORM\Table("mail", options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"})
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*/
|
||||
class Mail
|
||||
|
|
|
@ -7,6 +7,7 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass=MailAttachmentRepository::class)
|
||||
* @ORM\Table("mail_attachment", options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"})
|
||||
*/
|
||||
class MailAttachment
|
||||
{
|
||||
|
|
|
@ -10,6 +10,7 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
|
||||
/**
|
||||
* @ORM\Entity(repositoryClass=MailingRepository::class)
|
||||
* @ORM\Table("mailing", options={"collate"="utf8mb4_unicode_ci", "charset"="utf8mb4"})
|
||||
* @ORM\HasLifecycleCallbacks
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue