migrations/Version20240409141221.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use App\Constants\MailEventConstants;
  5. use Doctrine\DBAL\Schema\Schema;
  6. use Doctrine\Migrations\AbstractMigration;
  7. /**
  8.  * Auto-generated Migration: Please modify to your needs!
  9.  */
  10. final class Version20240409141221 extends AbstractMigration
  11. {
  12.     public function getDescription(): string
  13.     {
  14.         return '';
  15.     }
  16.     public function up(Schema $schema): void
  17.     {
  18.         // this up() migration is auto-generated, please modify it to your needs
  19.         $this->addSql('INSERT INTO mail_template (from_email, from_name, admin_email, event, subject, body, plain_body) VALUE ("admin@forforce.com","admin",NULL, ' MailEventConstants::PHONES_LOCKED_LIFECELL ', "Більшість номерів Lifecell заброньовано", "
  20. Більшість номерів Lifecell заброньовано. <br>Кількість вільних номерів: {freeQty}.<br>Будь ласка, додайте номери","Більшість номерів Lifecell заброньовано. <br>Кількість вільних номерів: {freeQty}.<br>Будь ласка, додайте номери")');
  21.     }
  22.     public function down(Schema $schema): void
  23.     {
  24.         // this down() migration is auto-generated, please modify it to your needs
  25.     }
  26. }