abortIf($this->connection->getDatabasePlatform()->getName() !== 'postgresql', 'Migration can only be executed safely on \'postgresql\'.'); $this->addSql('UPDATE chill_person_person SET contactInfo=email'); $this->addSql('UPDATE chill_person_person SET email=\'\''); } public function down(Schema $schema): void { $this->abortIf($this->connection->getDatabasePlatform()->getName() !== 'postgresql', 'Migration can only be executed safely on \'postgresql\'.'); $this->addSql('UPDATE chill_person_person SET email=contactInfo'); $this->addSql('UPDATE chill_person_person SET contactInfo=\'\''); } }