<?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 Version20240217110938 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_purchasing_groups_add" WHERE `permissions`.`permission_route` = "purchasing-groups/index/add"');
$this->addSql('UPDATE `permissions` SET `permission_slug` = "app_purchasing_groups_edit" WHERE `permissions`.`permission_route` = "purchasing-groups/index/edit/*"');
$this->addSql('UPDATE `permissions` SET `permission_slug` = "app_purchasing_groups_delete" WHERE `permissions`.`permission_route` = "purchasing-groups/index/delete/*"');
$this->addSql('UPDATE `permissions` SET `permission_slug` = "admin_community_category_add" WHERE `permissions`.`permission_route` = "community-category/index/add/*"');
$this->addSql('UPDATE `permissions` SET `permission_slug` = "admin_community_category_edit" WHERE `permissions`.`permission_route` = "community-category/index/edit/*"');
$this->addSql('UPDATE `permissions` SET `permission_slug` = "admin_community_category_delete" WHERE `permissions`.`permission_route` = "community-category/index/delete/*"');
$this->addSql('UPDATE `permissions` SET `permission_group` = "Community Groups" WHERE `permissions`.`permission_group` = "Community groups"');
$this->addSql('UPDATE `permissions` SET `permission_slug` = "admin_email_templates_listing" WHERE `permissions`.`permission_route` = "email-templates/index"');
$this->addSql('UPDATE `permissions` SET `permission_slug` = "admin_contact_preferences_listing" WHERE `permissions`.`permission_route` = "contact-preferences"');
}
public function down(Schema $schema): void
{
}
}