<?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 Version20240927074831 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql("ALTER TABLE `tc_user_roles` ADD `is_readonly` TINYINT NOT NULL DEFAULT '0' AFTER `is_active`;");
}
public function down(Schema $schema): void
{
$this->addSql("ALTER TABLE `tc_user_roles` DROP COLUMN `is_readonly`;");
}
}