<?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 Version20251208205918 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 on_boaring_epage ADD name_cosplayer VARCHAR(255) NOT NULL');
        $this->addSql('ALTER TABLE on_boaring_epage ADD link_instagram VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE on_boaring_epage ADD link_facebook VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE on_boaring_epage ADD link_tiktok VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE on_boaring_epage ADD link_x VARCHAR(255) DEFAULT NULL');
        $this->addSql('ALTER TABLE on_boaring_epage ADD description TEXT DEFAULT NULL');
    }

    public function down(Schema $schema): void
    {
        // this down() migration is auto-generated, please modify it to your needs
        $this->addSql('CREATE SCHEMA public');
        $this->addSql('ALTER TABLE on_boaring_epage DROP name_cosplayer');
        $this->addSql('ALTER TABLE on_boaring_epage DROP link_instagram');
        $this->addSql('ALTER TABLE on_boaring_epage DROP link_facebook');
        $this->addSql('ALTER TABLE on_boaring_epage DROP link_tiktok');
        $this->addSql('ALTER TABLE on_boaring_epage DROP link_x');
        $this->addSql('ALTER TABLE on_boaring_epage DROP description');
    }
}
