migrations/Version20220629203133.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 Version20220629203133 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 item ADD realized_start_date DATETIME DEFAULT NULL, ADD realized_end_date DATETIME DEFAULT NULL, DROP start_date, DROP etart_date');$this->addSql('ALTER TABLE project CHANGE contact_persone_pt contact_person_pt LONGTEXT DEFAULT NULL');$this->addSql('ALTER TABLE report CHANGE submissionDate submission_date DATETIME DEFAULT NULL');}public function down(Schema $schema): void{// this down() migration is auto-generated, please modify it to your needs$this->addSql('ALTER TABLE item ADD start_date DATETIME DEFAULT NULL, ADD etart_date DATETIME DEFAULT NULL, DROP realized_start_date, DROP realized_end_date');$this->addSql('ALTER TABLE project CHANGE contact_person_pt contact_persone_pt LONGTEXT DEFAULT NULL');$this->addSql('ALTER TABLE report CHANGE submission_date submissionDate DATETIME DEFAULT NULL');}}