<?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 Version20220408134734 extends AbstractMigration
{
public function getDescription() : string
{
return '';
}
public function up(Schema $schema) : void
{
$this->addSql("INSERT INTO `std_web_roles` (`created_by`, `updated_by`, `name`, `image`, `is_active`, `is_default`, `created_date`, `updated_date`) VALUES (1, 1, 'ROLE_ANONYMOUS', NULL, 1, 0, NOW(), NOW());");
}
public function down(Schema $schema) : void
{
$this->addSql("DELETE FROM `std_web_roles` WHERE `name`='ROLE_ANONYMOUS'");
}
}