migrations/Version20240422174258.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. /**
  7.  * Auto-generated Migration: Please modify to your needs!
  8.  */
  9. final class Version20240422174258 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17.         // this up() migration is auto-generated, please modify it to your needs
  18.         $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\'');
  19.         $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\'');
  20.     }
  21.     public function down(Schema $schema): void
  22.     {
  23.         // this down() migration is auto-generated, please modify it to your needs
  24.     }
  25. }