<?php
declare(strict_types=1);
namespace SalesBundleMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20241015145924 extends AbstractMigration
{
public function up(Schema $schema): void
{
}
public function down(Schema $schema): void
{
}
public function postUp(Schema $schema): void
{
parent::postUp($schema);
$this->connection->insert('cron_job', [
'name' => 'reset-number-reference',
'command' => 'bluue-bundle:sales:reset-number-reference',
'schedule' => '0 * 1 * *',
'description' => '',
'enabled' => 1
]);
}
}