migrations/Version20220720115731.php line 1
<?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 Version20220720115731 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 user_gift_payment DROP destinataire, DROP occasion, DROP presentation, DROP expediteur, DROP message');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE user_gift_payment ADD destinataire VARCHAR(255) NOT NULL, ADD occasion VARCHAR(255) NOT NULL, ADD presentation VARCHAR(255) NOT NULL, ADD expediteur VARCHAR(255) DEFAULT NULL, ADD message LONGTEXT NOT NULL');
}
}