<?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 Version20220903180357 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 projet ADD image_ftp_server VARCHAR(255) NOT NULL, ADD image_ftp_login VARCHAR(255) NOT NULL, ADD image_ftp_mdp VARCHAR(255) NOT NULL, ADD image_http_server VARCHAR(255) NOT NULL, DROP ftp_link, DROP login_ftp, DROP mdp_ftp, DROP http_link');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE projet ADD ftp_link VARCHAR(255) NOT NULL, ADD login_ftp VARCHAR(255) NOT NULL, ADD mdp_ftp VARCHAR(255) NOT NULL, ADD http_link VARCHAR(255) NOT NULL, DROP image_ftp_server, DROP image_ftp_login, DROP image_ftp_mdp, DROP image_http_server');
}
}