<?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 Version20240304034919 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('UPDATE `permissions` SET `permission_slug` = "app_suplier_styles_add" WHERE `permissions`.`permission_route` = "supplier-categories/index/add" AND permission_group = "Supllier Categories"');
$this->addSql('UPDATE `permissions` SET `permission_slug` = "app_suplier_styles_delete" WHERE `permissions`.`permission_route` = "supplier-categories/index/delete/*"AND permission_group = "Supllier Categories"');
$this->addSql('UPDATE `permissions` SET `permission_slug` = "app_suplier_styles_edit" WHERE `permissions`.`permission_route` = "supplier-categories/index/edit/*" AND permission_group = "Supllier Categories"');
$this->addSql('UPDATE `permissions` SET `permission_slug` = "app_suplier_styles" WHERE `permissions`.`permission_route` = "supplier-categories/index" AND permission_group = "Supllier Categories"');
$this->addSql('UPDATE `permissions` SET `permission_route` = "supplier-styles/index/add" , `permission_group` = "Supllier Styles" WHERE `permissions`.`permission_slug` = "app_suplier_styles_add"');
$this->addSql('UPDATE `permissions` SET `permission_route` = "supplier-styles/index/delete/", `permission_group` = "Supllier Styles" WHERE `permissions`.`permission_slug` = "app_suplier_styles_delete"');
$this->addSql('UPDATE `permissions` SET `permission_route` = "supplier-styles/index/edit/*",`permission_group` = "Supllier Styles" WHERE `permissions`.`permission_slug` = "app_suplier_styles_edit"');
$this->addSql('UPDATE `permissions` SET `permission_route` = "supplier-styles/index" ,`permission_group` = "Supllier Styles" WHERE `permissions`.`permission_slug` = "app_suplier_styles"');
}
public function down(Schema $schema): void
{
}
}