<?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 Version20240131103001 extends AbstractMigration
{
public function getDescription(): string
{
return 'add phone and email to location table';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE event_managment.location ADD email VARCHAR(255) DEFAULT NULL');
$this->addSql('ALTER TABLE event_managment.location ADD phone VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
}
}