<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20231214124825 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('INSERT INTO `list_statuses` (`id`, `type`, `name`, `sorting`, `color`, `created_at`, `updated_at`) VALUES (\'contract_state_charge_limit\', \'contract_state\', \'Чардж-ліміт досягнуто\', 35, \'#7ed321\', \''.(new \DateTimeImmutable())->format('Y-m-d H:i:s').'\', \''.(new \DateTimeImmutable())->format('Y-m-d H:i:s').'\')');
}
public function down(Schema $schema): void
{
$this->addSql('DELETE FROM `list_statuses` WHERE `id`=\'contract_state_charge_limit\'');
}
}