<?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 Version20241007083831 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add map_plus_code to bus_stop table';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE bus_stop ADD map_plus_code VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE bus_stop DROP map_plus_code');
}
}