<?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 Version20241027181251 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 code ADD physical_card TINYINT(1) DEFAULT NULL');
$this->addSql('ALTER TABLE contact CHANGE code_postal code_postal VARCHAR(255) DEFAULT NULL, CHANGE telephone telephone VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE code DROP physical_card');
$this->addSql('ALTER TABLE contact CHANGE code_postal code_postal VARCHAR(20) DEFAULT NULL, CHANGE telephone telephone VARCHAR(20) DEFAULT NULL');
}
}