<?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 Version20251020194758 extends AbstractMigration
{
// service-books
public const REPORT_ID_1 = 59;
// service-completed-books
public const WIDGET_ID_1 = 37;
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(sprintf('INSERT INTO report (id, token, name, category, enabled, sort_order) VALUES (%d, \'service-books\', \'Books\', \'Service\', 1, 7)', self::REPORT_ID_1));
$this->addSql(sprintf('INSERT INTO widget (id, token, name, category, enabled) VALUES (%d, \'service-completed-books\', \'Completed Books\', \'Service\', 1)', self::WIDGET_ID_1));
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql(sprintf('DELETE FROM report WHERE id = %d', self::REPORT_ID_1));
$this->addSql(sprintf('DELETE FROM widget WHERE id = %d', self::WIDGET_ID_1));
}
}