<?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 Version20240422174258 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 std_pages_content SET content = \'{"fields": {"1": {"skin": "", "block": "B02_title", "isMaster": 0, "settings": {"margin": "", "offset": "0", "padding": "", "underlined": "", "expire_date": "", "extra_class": "", "publish_date": "", "disabled_block": "0", "extra_block_id": ""}, "blockname": "", "components": {"title": "<h1 style=\\\"text-align: center;\\\">OOOPS!</h1>"}, "repeatable": [], "blockuniqueid": "B02_title_20240422183155121", "templatesBlocksId": 0}, "2": {"skin": "", "block": "B02_title", "isMaster": 0, "settings": {"margin": "", "offset": "0", "padding": "", "underlined": "", "expire_date": "", "extra_class": "", "publish_date": "", "disabled_block": "0", "extra_block_id": ""}, "blockname": "", "components": {"title": "<h2 style=\\\"text-align: center;\\\">Page not found</h2>"}, "repeatable": [], "blockuniqueid": "B02_title_20240422183228589", "templatesBlocksId": 0}, "3": {"skin": "", "block": "B03_text", "isMaster": 0, "settings": {"margin": "", "offset": "0", "bgcolor": "", "COLUMNS": "", "padding": "", "textcolor": "", "expire_date": "", "extra_class": "", "publish_date": "", "disabled_block": "0", "extra_block_id": ""}, "blockname": "", "components": {"TEXT": "<main style=\\\"text-align: center;\\\"><section><p>We are sorry, the page you are looking for does not seem to exist...</p></section></main>"}, "repeatable": [], "blockuniqueid": "B03_text_20240422183248703", "templatesBlocksId": 0}}}\' WHERE page_id = (SELECT id FROM std_pages WHERE machine_name=\'404_not_found\' LIMIT 1) AND language_code = \'en\'');
$this->addSql('UPDATE std_pages_content SET content = \'{"fields": {"1": {"skin": "", "block": "B02_title", "isMaster": 0, "settings": {"margin": "", "offset": "0", "padding": "", "underlined": "", "expire_date": "", "extra_class": "", "publish_date": "", "disabled_block": "0", "extra_block_id": ""}, "blockname": "", "components": {"title": "<h1 style=\\\"text-align: center;\\\">OOOPS!</h1>"}, "repeatable": [], "blockuniqueid": "B02_title_20240422183155121", "templatesBlocksId": 0}, "2": {"skin": "", "block": "B02_title", "isMaster": 0, "settings": {"margin": "", "offset": "0", "padding": "", "underlined": "", "expire_date": "", "extra_class": "", "publish_date": "", "disabled_block": "0", "extra_block_id": ""}, "blockname": "", "components": {"title": "<h2 style=\\\"text-align: center;\\\">A página não foi encontrada</h2>"}, "repeatable": [], "blockuniqueid": "B02_title_20240422183228589", "templatesBlocksId": 0}, "3": {"skin": "", "block": "B03_text", "isMaster": 0, "settings": {"margin": "", "offset": "0", "bgcolor": "", "COLUMNS": "", "padding": "", "textcolor": "", "expire_date": "", "extra_class": "", "publish_date": "", "disabled_block": "0", "extra_block_id": ""}, "blockname": "", "components": {"TEXT": "<main style=\\\"text-align: center;\\\"><section><p>Pedimos desculpa, a página que procura aparentemente não existe...</p></section></main>"}, "repeatable": [], "blockuniqueid": "B03_text_20240422183248703", "templatesBlocksId": 0}}}\' WHERE page_id = (SELECT id FROM std_pages WHERE machine_name=\'404_not_found\' LIMIT 1) AND language_code = \'pt\'');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}