migrations/Version20240522124311.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 Version20240522124311 extends AbstractMigration
  10. {
  11.     public function getDescription(): string
  12.     {
  13.         return 'New notification of signed contract';
  14.     }
  15.     public function up(Schema $schema): void
  16.     {
  17.         $this->addSql("INSERT INTO blomqvist.notification_template (identifier, notification_type, text_email, text_sms, subject, created_at, updated_at, text_system, notification_language, category, setting, profile_default, icon, color, profile_title) VALUES ('CONTRACT_WAS_SIGNET_NOR', 58, '<p>Kunde %user_name% har signert kontrakt %contract_number% med %number_of_lots% objekter. Objekt(ene) er nå klare for salg.</p><br /><p>Hilsen</p><p>Blomqvist</p>', '', 'En kontrakt ble signert', '2024-05-22 12:42:12', '2024-05-22 12:42:12', '', 'nor-NO', 'Mine salg', 20, 6, '', '', '');");
  18.         $this->addSql("INSERT INTO blomqvist.notification_template (identifier, notification_type, text_email, text_sms, subject, created_at, updated_at, text_system, notification_language, category, setting, profile_default, icon, color, profile_title) VALUES ('CONTRACT_WAS_SIGNET_ENG', 58, '<p>Kunde %user_name% har signert kontrakt %contract_number% med %number_of_lots% objekter. Objekt(ene) er nå klare for salg.</p><br /><p>Hilsen</p><p>Blomqvist</p>', '', 'En kontrakt ble signert', '2024-05-22 12:42:12', '2024-05-22 12:42:12', '', 'eng-GB', 'Mine salg', 20, 6, '', '', '');");
  19.     }
  20. }