<?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 Version20220519092248 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 company ADD forma_organizatie VARCHAR(255) DEFAULT NULL, ADD cif_intracomunitar VARCHAR(255) DEFAULT NULL, ADD caen VARCHAR(255) DEFAULT NULL, ADD capital_social VARCHAR(255) DEFAULT NULL, ADD telefon VARCHAR(255) DEFAULT NULL, ADD fax VARCHAR(255) DEFAULT NULL, ADD email VARCHAR(255) DEFAULT NULL, ADD website VARCHAR(255) DEFAULT NULL, ADD date_aditionale LONGTEXT DEFAULT NULL, ADD administrator VARCHAR(255) DEFAULT NULL, ADD imputernicit VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE prospect CHANGE responsabil responsabil INT DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE company DROP forma_organizatie, DROP cif_intracomunitar, DROP caen, DROP capital_social, DROP telefon, DROP fax, DROP email, DROP website, DROP date_aditionale, DROP administrator, DROP imputernicit');
$this->addSql('ALTER TABLE prospect CHANGE responsabil responsabil INT NOT NULL');
}
}