<?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 Version20240522124311 extends AbstractMigration
{
public function getDescription(): string
{
return 'New notification of signed contract';
}
public function up(Schema $schema): void
{
$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, '', '', '');");
$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, '', '', '');");
}
}