<?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 Version20230630073806 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE country ADD currency_position VARCHAR(255) DEFAULT NULL, ADD country_code VARCHAR(255) DEFAULT NULL');
$this->addSql('CREATE INDEX country_country_code ON country (country_code)');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE country DROP currency_position, DROP country_code');
}
}