<?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;final class Version20220908212344 extends AbstractMigration{ public function up(Schema $schema): void { $this->addSql('ALTER TABLE invoice ADD legacy_status INT DEFAULT NULL, DROP legacy_complete'); } public function down(Schema $schema): void { $this->addSql('ALTER TABLE invoice ADD legacy_complete TINYINT(1) DEFAULT NULL, DROP legacy_status'); }}