migrations/Version20240227123604.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 Version20240227123604 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 mail_template SET body = "<p>Ваш eSIM номер {order_phone}.<br />
  19. Ваш PIN {order_phone_pin}.</p>
  20. <p>{order_qr_code}</p>
  21. <p><br />
  22. Нижче у листі покрокова інструкція, як активувати eSIM.<br />
  23. Як активувати eSIM:<br />
  24. &bull; переконайтесь, що ваш пристрій підтримує eSIM,<br />
  25. &bull; увімкніть інтернет на смартфоні (Wi-Fi або мобільний з фізичної SIM-карти),<br />
  26. &bull; перейдіть у Налаштування &gt; Стільникові дані &gt; Додати стільниковий план (приклад для iPhone),<br />
  27. &bull; відскануйте QR-код (у вкладенні),<br />
  28. Дякуємо за покупку!</p>
  29. " WHERE event = 3');
  30.     }
  31.     public function down(Schema $schema): void
  32.     {
  33.         // this down() migration is auto-generated, please modify it to your needs
  34.     }
  35. }