<?php
declare(strict_types=1);
namespace CustomersBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20230515090320 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE customers_bundle__customer CHANGE city city VARCHAR(64) DEFAULT NULL, CHANGE siret siret VARCHAR(14) DEFAULT NULL');
$this->addSql('ALTER TABLE customers_bundle__customer_type CHANGE name name VARCHAR(20) NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE customers_bundle__customer CHANGE city city VARCHAR(50) DEFAULT NULL, CHANGE siret siret VARCHAR(16) DEFAULT NULL');
$this->addSql('ALTER TABLE customers_bundle__customer_type CHANGE name name VARCHAR(32) NOT NULL');
}
}