<?phpdeclare(strict_types=1);namespaceDoctrineMigrations;useDoctrine\DBAL\Schema\Schema;useDoctrine\Migrations\AbstractMigration;/** * Auto-generated Migration: Please modify to your needs! */finalclassVersion20200619102406extendsAbstractMigration{publicfunctiongetDescription():string{return'';}publicfunctionup(Schema$schema):void{// this up() migration is auto-generated, please modify it to your needs$this->abortIf($this->connection->getDatabasePlatform()->getName()!=='mysql','Migration can only be executed safely on \'mysql\'.');$this->addSql('ALTER TABLE import ADD type VARCHAR(100) NOT NULL, ADD errors LONGTEXT DEFAULT NULL');$this->addSql('ALTER TABLE prestataire DROP compte, CHANGE siret siret VARCHAR(50) DEFAULT NULL');}publicfunctiondown(Schema$schema):void{// this down() migration is auto-generated, please modify it to your needs$this->abortIf($this->connection->getDatabasePlatform()->getName()!=='mysql','Migration can only be executed safely on \'mysql\'.');$this->addSql('ALTER TABLE import DROP type, DROP errors');$this->addSql('ALTER TABLE prestataire ADD compte NUMERIC(12, 2) NOT NULL, CHANGE siret siret VARCHAR(50) CHARACTER SET utf8 NOT NULL COLLATE `utf8_general_ci`');}}