<?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 Version20260622074459 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add is_active column to creator table';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE creator ADD is_active TINYINT(1) NOT NULL DEFAULT 1');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE creator DROP is_active');
}
}