<?php
declare(strict_types=1);
namespace App\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20231102110653 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 parameters ADD harpege_db_name VARCHAR(160) DEFAULT NULL, ADD harpege_user VARCHAR(160) DEFAULT NULL, ADD harpege_password VARCHAR(160) DEFAULT NULL, ADD harpege_host VARCHAR(160) DEFAULT NULL, ADD harpege_charset VARCHAR(160) DEFAULT NULL, ADD harpege_port VARCHAR(5) DEFAULT NULL, DROP arpege_db_name, DROP arpege_user, DROP arpege_password, DROP arpege_host, DROP arpege_charset');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE parameters ADD arpege_db_name VARCHAR(160) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, ADD arpege_user VARCHAR(160) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, ADD arpege_password VARCHAR(160) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, ADD arpege_host VARCHAR(160) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, ADD arpege_charset VARCHAR(160) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, DROP harpege_db_name, DROP harpege_user, DROP harpege_password, DROP harpege_host, DROP harpege_charset, DROP harpege_port');
}
}