<?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 Version20220315124923 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('CREATE TABLE xml_cabinet (id INT AUTO_INCREMENT NOT NULL, raison_soc VARCHAR(255) DEFAULT NULL, type_cabinet VARCHAR(255) DEFAULT NULL, forme_juridique VARCHAR(255) DEFAULT NULL, date_inscription DATETIME DEFAULT NULL, pluri_professionnelle VARCHAR(255) DEFAULT NULL, bar_num VARCHAR(255) DEFAULT NULL, type_etablissement VARCHAR(255) DEFAULT NULL, siege_social VARCHAR(255) DEFAULT NULL, etablissement_reference VARCHAR(255) DEFAULT NULL, nic VARCHAR(255) DEFAULT NULL, date_ouverture DATETIME DEFAULT NULL, num_tel VARCHAR(255) DEFAULT NULL, num_fax VARCHAR(255) DEFAULT NULL, courriel VARCHAR(255) DEFAULT NULL, code_postal VARCHAR(255) DEFAULT NULL, ville VARCHAR(255) DEFAULT NULL, destinataire VARCHAR(255) DEFAULT NULL, voie VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP TABLE xml_cabinet');
}
}