<?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 Version20210224112841 extends AbstractMigration
{
public function getDescription() : string
{
return '';
}
public function up(Schema $schema) : void
{
$this->addSql("UPDATE `std_config` SET label = 'Descrição' WHERE machine_name = 'default_meta_description'");
$this->addSql("UPDATE `std_config` SET label = 'Palavras-chave' WHERE machine_name = 'default_meta_keywords'");
$this->addSql("UPDATE `std_config` SET label = 'Titulo' WHERE machine_name = 'default_meta_title'");
$this->addSql("UPDATE `std_config` SET label = 'Imagem' WHERE machine_name = 'image_config'");
$this->addSql("UPDATE `std_blocks_components` SET name ='B02_title' WHERE block_id =(select id from std_blocks where machine_name = 'B02_title') and machine_name ='title'");
$this->addSql("UPDATE `std_blocks_components` SET name ='B03_text' WHERE block_id =(select id from std_blocks where machine_name = 'B03_text') and machine_name ='text'");
$this->addSql("UPDATE `std_blocks_components` SET name ='B11_html' WHERE block_id =(select id from std_blocks where machine_name = 'B11_html') and machine_name ='html_code'");
$this->addSql("UPDATE `std_blocks_components` SET name ='B17_author' WHERE block_id =(select id from std_blocks where machine_name = 'B17_testimonials') and machine_name ='author'");
$this->addSql("UPDATE `std_blocks_components` SET name ='B17_image' WHERE block_id =(select id from std_blocks where machine_name = 'B17_testimonials') and machine_name ='item_image'");
$this->addSql("UPDATE `std_blocks_components` SET name ='B17_quote' WHERE block_id =(select id from std_blocks where machine_name = 'B17_testimonials') and machine_name ='quote'");
$this->addSql("UPDATE `std_blocks_components` SET name ='B19_btn_label' WHERE block_id =(select id from std_blocks where machine_name = 'B19_cta') and machine_name ='btn_label'");
$this->addSql("UPDATE `std_blocks_components` SET name ='B19_btn_target' WHERE block_id =(select id from std_blocks where machine_name = 'B19_cta') and machine_name ='btn_target'");
$this->addSql("UPDATE `std_blocks_components` SET name ='B19_message' WHERE block_id =(select id from std_blocks where machine_name = 'B19_cta') and machine_name ='message'");
$this->addSql("UPDATE `std_blocks_components` SET name ='B19_url' WHERE block_id =(select id from std_blocks where machine_name = 'B19_cta') and machine_name ='url'");
}
public function down(Schema $schema) : void
{
}
}