feat(email): Affiche les emails du client avec stockage et date de création.

🐛 fix(CustomerDnsEmail): Ajoute la propriété `isDeleted` à l'entité.
This commit is contained in:
Serreau Jovann
2025-09-27 13:25:08 +02:00
parent 5cf83c0cf2
commit b22a8bc45c
5 changed files with 75 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20250927112447 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE customer_dns_email ADD is_deleted BOOLEAN NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('ALTER TABLE customer_dns_email DROP is_deleted');
}
}