<?php declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20240315104341 extends AbstractMigration
{
public function getDescription(): string
{
return 'Saves sms_parking_lot_area on Sms Intents list';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE sms_intents ADD sms_parking_lot_area SMALLINT DEFAULT 1 NOT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE sms_intents DROP sms_parking_lot_area');
}
}