<?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 Version20210510131742 extends AbstractMigration
{
public function getDescription() : string
{
return 'Dropped event_date column';
}
public function up(Schema $schema) : void
{
$this->addSql('ALTER TABLE digitallink_report_summary DROP event_date');
}
public function down(Schema $schema) : void
{
$this->addSql('ALTER TABLE digitallink_report_summary ADD event_date TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL DEFAULT CURRENT_TIMESTAMP');
}
}