<?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 Version20241105102742 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 survey ADD bexio_account_id INT DEFAULT NULL");
$this->addSql("UPDATE survey SET bexio_account_id = '303' WHERE (id = '1');");
$this->addSql("UPDATE survey SET bexio_account_id = '297' WHERE (id = '2');");
$this->addSql("UPDATE survey SET bexio_account_id = '151' WHERE (id = '3');");
$this->addSql("UPDATE survey SET bexio_account_id = '302' WHERE (id = '7');");
$this->addSql("UPDATE survey SET bexio_account_id = '302' WHERE (id = '8');");
$this->addSql("UPDATE survey SET bexio_account_id = '300' WHERE (id = '4');");
$this->addSql("UPDATE survey SET bexio_account_id = '300' WHERE (id = '11');");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE survey DROP bexio_account_id');
}
}