<?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 Version20250410101648 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 application ADD shipment_type VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE application ADD act_type VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE application ADD shipment_content TEXT DEFAULT NULL');
$this->addSql('ALTER TABLE application ADD is_entire_parcel_covered_by_plan BOOLEAN DEFAULT NULL');
$this->addSql('ALTER TABLE application ADD land_use_class_names VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE application ADD max_building_coverage DOUBLE PRECISION DEFAULT NULL');
$this->addSql('ALTER TABLE application ADD max_building_height DOUBLE PRECISION DEFAULT NULL');
$this->addSql('ALTER TABLE application ADD min_biologically_active_area DOUBLE PRECISION DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('ALTER TABLE application DROP shipment_type');
$this->addSql('ALTER TABLE application DROP act_type');
$this->addSql('ALTER TABLE application DROP shipment_content');
$this->addSql('ALTER TABLE application DROP is_entire_parcel_covered_by_plan');
$this->addSql('ALTER TABLE application DROP land_use_class_names');
$this->addSql('ALTER TABLE application DROP max_building_coverage');
$this->addSql('ALTER TABLE application DROP max_building_height');
$this->addSql('ALTER TABLE application DROP min_biologically_active_area');
}
}