migrations/Version20250702140059.php line 1
<?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;/*** Auto-generated Migration: Please modify to your needs!*/final class Version20250702140059 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(<<<'SQL'CREATE TABLE client_promotion (client_id INT UNSIGNED NOT NULL, promo_code_id INT NOT NULL COMMENT 'référence unique du code promo', available_solde INT NOT NULL, INDEX IDX_2A3DADDE19EB6921 (client_id), INDEX IDX_2A3DADDE2FAE4625 (promo_code_id), PRIMARY KEY(client_id, promo_code_id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDBSQL);}public function down(Schema $schema): void{// this down() migration is auto-generated, please modify it to your needs}}