Skip to content

Commit

Permalink
UNZER-275 update migration
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriivolkhinoxid committed Nov 16, 2023
1 parent 2f125ef commit e317a24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions migration/data/Version20231107212500.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,22 @@

namespace OxidSolutionCatalysts\Unzer\Migrations;

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Exception;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\DBAL\Types\Types;
use Doctrine\Migrations\AbstractMigration;
use Psr\Log\LoggerInterface;

/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20231107212500 extends AbstractMigration
{
/** @throws Exception */
public function __construct($version)
public function __construct(Connection $connection, LoggerInterface $logger)
{
parent::__construct($version);
parent::__construct($connection, $logger);

$this->platform->registerDoctrineTypeMapping('enum', 'string');
}
Expand Down

0 comments on commit e317a24

Please sign in to comment.