<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20211015115536 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE email_texts MODIFY COLUMN automatic_reservation_email_header LONGTEXT NOT NULL DEFAULT "Dahua - Vytvořena rezervace na následující týden na parkovací místo {{slot}}"');
$this->addSql('ALTER TABLE email_texts MODIFY COLUMN user_reservation_email_header LONGTEXT NOT NULL DEFAULT "Dahua - Rezervace vytvořena na datum {{date}} a parkovací místo {{slot}}"');
$this->addSql('UPDATE email_texts SET automatic_reservation_email_header = "Dahua - Vytvořena rezervace na následující týden na parkovací místo {{slot}}" WHERE locale="cz"');
$this->addSql('UPDATE email_texts SET user_reservation_email_header = "Dahua - Rezervace vytvořena na datum {{date}} a parkovací místo {{slot}}" WHERE locale="cz"');
}
}