<?php
declare(strict_types=1);
namespace TicketsBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20231031103355 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->addSql('CREATE INDEX is_spam ON tickets_bundle__ticket (is_spam)');
}
public function down(Schema $schema): void
{
$this->addSql('DROP INDEX is_spam ON tickets_bundle__ticket');
}
}