<?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 Version20240923100012 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 user_admin CHANGE roles roles JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE user_admin RENAME INDEX uniq_ec9a9c03e7927c74 TO UNIQ_6ACCF62EE7927C74');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE user_admin CHANGE roles roles JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE user_admin RENAME INDEX uniq_6accf62ee7927c74 TO UNIQ_EC9A9C03E7927C74');
}
}