<?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 Version20231010081248 extends AbstractMigration
{
public function getDescription(): string
{
return 'Create new notifications';
}
public function up(Schema $schema): void
{
$this->addSql("INSERT INTO `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
('RESEND_CUSTOMER_VERIFICATION_NOR',52,'<p>En feil oppstod</p><p> </p><p>Din e-post er ikke verifisert. Vennligst klikk <a href=\"%link_email_confirmation%\">her</a> for å få tilsendt en ny verifiseringslenke på e-post. </p>',NULL,'Bekreft din e-post','2023-10-10 13:03:43','2023-10-10 13:03:43','','nor-NO',NULL,0,7,NULL,NULL,'Bekreft din e-post'),
('RESEND_CUSTOMER_VERIFICATION_ENG',52,'<p>An error occurred</p><p> </p><p>Your email is not yet verified. Please click <a href=\"%link_email_confirmation%\">here</a> to receive a new verification link via email. </p>',NULL,'Bekreft din e-post','2023-10-10 13:03:43','2023-10-10 13:03:43','','eng-GB',NULL,0,7,NULL,NULL,'Confirm your email');");
}
public function down(Schema $schema): void
{
$this->addSql("DELETE FROM notification_template WHERE identifier IN ('RESEND_CUSTOMER_VERIFICATION_NOR', 'RESEND_CUSTOMER_VERIFICATION_ENG');");
}
}