<?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 Version20230602141132 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("
INSERT INTO `std_config` (`machine_name`, `created_by`, `updated_by`, `description_machine_name`, `details_machine_name`, `parent_name`, `variable_type`, `order_value`, `is_hidden`, `created_date`, `updated_date`, `label`, `content`, `language_code`)
VALUES
('logout_no_btn_style', '1', '1', 'logout_no_btn_style', 'logout_no_btn_style', 'Private area', 'SELECT', '11', '0', now(), now(), 'Logout No Btn Style','{\"query\": \"SELECT \'Primary\' AS label,\'btn-primary\' AS `id` UNION SELECT \'Secondary\' AS label,\'btn-secondary\' AS `id` UNION SELECT \'Style 1\' AS label,\'btn-primary btn-style-1\' AS `id` UNION SELECT \'Style 2\' AS label,\'btn-primary btn-style-2\' AS `id` UNION SELECT \'Style 3\' AS label,\'btn-primary btn-style-3\' AS `id` UNION SELECT \'Style 4\' AS label,\'btn-primary btn-style-4\' AS `id` UNION SELECT \'Style 5\' AS label,\'btn-primary btn-style-5\' AS `id`\"}',''),
('logout_yes_btn_style', '1', '1', 'logout_yes_btn_style', 'logout_yes_btn_style', 'Private area', 'SELECT', '11', '0', now(), now(), 'Logout Yes Btn Style','{\"query\": \"SELECT \'Primary\' AS label,\'btn-primary\' AS `id` UNION SELECT \'Secondary\' AS label,\'btn-secondary\' AS `id` UNION SELECT \'Style 1\' AS label,\'btn-primary btn-style-1\' AS `id` UNION SELECT \'Style 2\' AS label,\'btn-primary btn-style-2\' AS `id` UNION SELECT \'Style 3\' AS label,\'btn-primary btn-style-3\' AS `id` UNION SELECT \'Style 4\' AS label,\'btn-primary btn-style-4\' AS `id` UNION SELECT \'Style 5\' AS label,\'btn-primary btn-style-5\' AS `id`\"}','');
");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql("DELETE FROM `std_config` WHERE `machine_name` IN ('logout_no_btn_style', 'logout_yes_btn_style');");
}
}