<?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 Version20221111132141 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 `input_type` (`id`, `name`, `fqcn`) VALUES (11, 'CKEditorType', 'FOS\\\CKEditorBundle\\\Form\\\Type\\\CKEditorType');");
$this->addSql("INSERT INTO `setting` (`id`, `name`, `value`, `translation_key`, `input_type_id`) VALUES (18, 'gdpr', '<h5 style=\"text-align:center\">Politica de Confidentialitate</5>\r\n\r\n<p style=\"text-align:center\">Va vom colecta datele</p>\r\n\r\n<p style=\"text-align:center\">Si veti fii de acord</p>', 'settings.gdpr', 11);");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql("DELETE FROM `setting` WHERE `id` = 18");
$this->addSql("DELETE FROM `input_type` WHERE `id` = 11");
}
}