<?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 Version20250122184003 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('CREATE TABLE std_feature_flag ( id INT AUTO_INCREMENT NOT NULL, feature VARCHAR(255) NOT NULL, info JSON NOT NULL COMMENT \'info of feature flag\', enabled TINYINT(1) NOT NULL, UNIQUE INDEX UNIQ_D5B5B3811FD77566 (feature), PRIMARY KEY(id) ) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
}
public function down(Schema $schema): void
{
$this->addSql('DROP TABLE std_feature_flag');
}
}