<?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 Version20260619170105 extends AbstractMigration
{
    public function getDescription(): string
    {
        return '';
    }

    public function up(Schema $schema): void
    {
        // this up() migration is auto-generated, please modify it to your needs
        $this->addSql('CREATE TABLE sms_message_templates (id INT AUTO_INCREMENT NOT NULL, tag VARCHAR(30) NOT NULL, title VARCHAR(100) NOT NULL, body LONGTEXT NOT NULL, variables JSON NOT NULL, updated_at INT NOT NULL, UNIQUE INDEX UNIQ_FE35EE97389B783 (tag), PRIMARY KEY (id)) DEFAULT CHARACTER SET utf8mb4');
    }

    public function down(Schema $schema): void
    {
        // this down() migration is auto-generated, please modify it to your needs
        $this->addSql('DROP TABLE sms_message_templates');
    }
}
