migrations/Version20240325091753.php line 1
<?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;/*** Auto-generated Migration: Please modify to your needs!*/final class Version20240325091753 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 app_bundle CHANGE geo geo JSON DEFAULT NULL');$this->addSql('ALTER TABLE campaign CHANGE browser browser JSON NOT NULL');$this->addSql('ALTER TABLE host ADD expire DATE NOT NULL, ADD cpu INT NOT NULL, ADD ram INT NOT NULL, ADD space INT NOT NULL');$this->addSql('ALTER TABLE search_campaign DROP company');}public function down(Schema $schema): void{// this down() migration is auto-generated, please modify it to your needs$this->addSql('ALTER TABLE app_bundle CHANGE geo geo JSON DEFAULT NULL');$this->addSql('ALTER TABLE campaign CHANGE browser browser JSON NOT NULL');$this->addSql('ALTER TABLE host DROP expire, DROP cpu, DROP ram, DROP space');$this->addSql('ALTER TABLE search_campaign ADD company VARCHAR(255) DEFAULT NULL');}}