<?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 Version20220425092906 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('ALTER TABLE ville ADD code_departement VARCHAR(3) DEFAULT NULL, ADD code_insee VARCHAR(5) DEFAULT NULL, ADD slug VARCHAR(255) DEFAULT NULL, ADD gps_lat NUMERIC(16, 14) DEFAULT NULL, ADD gps_lng NUMERIC(17, 14) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE ville DROP code_departement, DROP code_insee, DROP slug, DROP gps_lat, DROP gps_lng');
}
}