<?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 Version20260405061816 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('DROP TABLE notification_time');
$this->addSql('ALTER TABLE notification_system DROP ahead_of_deadline, DROP near_deadline, DROP at_deadline, DROP delay_of_deadline, DROP significant_delay');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE notification_time (id INT AUTO_INCREMENT NOT NULL, ahead_of_deadline INT DEFAULT NULL, near_deadline INT DEFAULT NULL, at_deadline INT DEFAULT NULL, delay_of_deadline INT DEFAULT NULL, significant_delay INT DEFAULT NULL, deleted_at DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('ALTER TABLE notification_system ADD ahead_of_deadline TINYINT(1) DEFAULT NULL, ADD near_deadline TINYINT(1) DEFAULT NULL, ADD at_deadline TINYINT(1) DEFAULT NULL, ADD delay_of_deadline TINYINT(1) DEFAULT NULL, ADD significant_delay TINYINT(1) DEFAULT NULL');
}
}