<?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 Version20250829014242 extends AbstractMigration
{
public function getDescription(): string
{
return "Création des index pour l'amélioration de la page société";
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('UPDATE app_feature_type SET name = "trading" WHERE name = "trades"');
$this->addSql('UPDATE app_feature SET translation_key = "feature.trading.tv.description" WHERE translation_key = "feature.trades.tv.description"');
$this->addSql('UPDATE app_feature SET translation_key = "feature.trading.book.description" WHERE translation_key = "feature.trades.book.description"');
$this->addSql('UPDATE app_feature SET translation_key = "feature.trading.area.description" WHERE translation_key = "feature.trades.area.description"');
$this->addSql('UPDATE app_feature SET translation_key = "feature.trading.university.description" WHERE translation_key = "feature.trades.university.description"');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}