<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Migration: Ajout du champ exported à la table retour_stripe
* pour la synchronisation avec le système de gestion Location Internet
*/
final class Version20251128100000 extends AbstractMigration
{
public function getDescription() : string
{
return 'Ajout du champ exported à retour_stripe pour export XML vers Location Internet';
}
public function up(Schema $schema) : void
{
$this->addSql('ALTER TABLE retour_stripe ADD exported TINYINT(1) NOT NULL DEFAULT 0');
}
public function down(Schema $schema) : void
{
$this->addSql('ALTER TABLE retour_stripe DROP exported');
}
}