<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Update predefined_template vendor_document_model_name from FEUILLE_ROSE to ALL_OUT_FEUILLE_ROSE.
*/
final class Version20250904120605 extends AbstractMigration
{
public function getDescription(): string
{
return 'Update predefined_template vendor_document_model_name from FEUILLE_ROSE to ALL_OUT_FEUILLE_ROSE';
}
public function up(Schema $schema): void
{
$this->addSql("UPDATE predefined_template SET vendor_document_model_name = 'ALL_OUT_FEUILLE_ROSE' WHERE vendor_document_model_name = 'FEUILLE_ROSE'");
}
public function down(Schema $schema): void
{
$this->addSql("UPDATE predefined_template SET vendor_document_model_name = 'FEUILLE_ROSE' WHERE vendor_document_model_name = 'ALL_OUT_FEUILLE_ROSE'");
}
}