<?php declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20240403151944 extends AbstractMigration
{
public function getDescription(): string
{
return 'Adds sms_last_hour to handle last hour when a full day subscription can be created.';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE processor_credentials ADD sms_last_hour TIME DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE processor_credentials DROP sms_last_hour');
}
}