<?php
declare(strict_types=1);
namespace AppMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20221004132423 extends AbstractMigration
{
public function getDescription(): string
{
return 'to custom icon if not null on the map';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE app_company ADD map_icon VARCHAR(50) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE app_company DROP map_icon');
}
}