<?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 Version20231003081606 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 IGNORE 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`, `language_code`)
VALUES
('bottom_image', '1', '1', 'bottom_image', 'bottom_image', 'Bottom', 'IMAGE', '1', '0', now(), now(), 'Image', 'pt'),
('bottom_image', '1', '1', 'bottom_image', 'bottom_image', 'Bottom', 'IMAGE', '1', '0', now(), now(), 'Image', 'en'),
('bottom_image', '1', '1', 'bottom_image', 'bottom_image', 'Bottom', 'IMAGE', '1', '0', now(), now(), 'Image', 'es'),
('bottom_image', '1', '1', 'bottom_image', 'bottom_image', 'Bottom', 'IMAGE', '1', '0', now(), now(), 'Image', 'fr'),
('bottom_image', '1', '1', 'bottom_image', 'bottom_image', 'Bottom', 'IMAGE', '1', '0', now(), now(), 'Image', 'it'),
('bottom_image', '1', '1', 'bottom_image', 'bottom_image', 'Bottom', 'IMAGE', '1', '0', now(), now(), 'Image', 'de');
");
$this->addSql("
INSERT IGNORE 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`, `language_code`)
VALUES
('bottom_url', '1', '1', 'bottom_url', 'bottom_url', 'Bottom', 'INPUT', '2', '0', now(), now(), 'URL', 'pt'),
('bottom_url', '1', '1', 'bottom_url', 'bottom_url', 'Bottom', 'INPUT', '2', '0', now(), now(), 'URL', 'en'),
('bottom_url', '1', '1', 'bottom_url', 'bottom_url', 'Bottom', 'INPUT', '2', '0', now(), now(), 'URL', 'es'),
('bottom_url', '1', '1', 'bottom_url', 'bottom_url', 'Bottom', 'INPUT', '2', '0', now(), now(), 'URL', 'fr'),
('bottom_url', '1', '1', 'bottom_url', 'bottom_url', 'Bottom', 'INPUT', '2', '0', now(), now(), 'URL', 'it'),
('bottom_url', '1', '1', 'bottom_url', 'bottom_url', 'Bottom', 'INPUT', '2', '0', now(), now(), 'URL', 'de');
");
$this->addSql("
INSERT INTO `std_config` (`machine_name`, `created_by`, `updated_by`, `value`, `description_machine_name`, `details_machine_name`, `parent_name`, `variable_type`, `order_value`, `is_hidden`, `label`, `content`, `language_code`)
VALUES
('bottom_image_align', '1', '1', 'bottom_image_align', 'bottom_image_align', 'bottom_image_align', 'Bottom', 'SELECT', '3', '0', 'Align', '{\"query\": \"SELECT \'Left\' AS label,\'start\' AS `id` UNION SELECT \'Right\' AS label,\'end\' AS `id` UNION SELECT \'Center\' AS label,\'center\' AS `id`\"}','pt'),
('bottom_image_align', '1', '1', 'bottom_image_align', 'bottom_image_align', 'bottom_image_align', 'Bottom', 'SELECT', '3', '0', 'Align', '{\"query\": \"SELECT \'Left\' AS label,\'start\' AS `id` UNION SELECT \'Right\' AS label,\'end\' AS `id` UNION SELECT \'Center\' AS label,\'center\' AS `id`\"}','en'),
('bottom_image_align', '1', '1', 'bottom_image_align', 'bottom_image_align', 'bottom_image_align', 'Bottom', 'SELECT', '3', '0', 'Align', '{\"query\": \"SELECT \'Left\' AS label,\'start\' AS `id` UNION SELECT \'Right\' AS label,\'end\' AS `id` UNION SELECT \'Center\' AS label,\'center\' AS `id`\"}','es'),
('bottom_image_align', '1', '1', 'bottom_image_align', 'bottom_image_align', 'bottom_image_align', 'Bottom', 'SELECT', '3', '0', 'Align', '{\"query\": \"SELECT \'Left\' AS label,\'start\' AS `id` UNION SELECT \'Right\' AS label,\'end\' AS `id` UNION SELECT \'Center\' AS label,\'center\' AS `id`\"}','fr'),
('bottom_image_align', '1', '1', 'bottom_image_align', 'bottom_image_align', 'bottom_image_align', 'Bottom', 'SELECT', '3', '0', 'Align', '{\"query\": \"SELECT \'Left\' AS label,\'start\' AS `id` UNION SELECT \'Right\' AS label,\'end\' AS `id` UNION SELECT \'Center\' AS label,\'center\' AS `id`\"}','it'),
('bottom_image_align', '1', '1', 'bottom_image_align', 'bottom_image_align', 'bottom_image_align', 'Bottom', 'SELECT', '3', '0', 'Align', '{\"query\": \"SELECT \'Left\' AS label,\'start\' AS `id` UNION SELECT \'Right\' AS label,\'end\' AS `id` UNION SELECT \'Center\' AS label,\'center\' AS `id`\"}','de');
");
}
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 ('bottom_image', 'bottom_url', 'bottom_image_align');");
}
}