Skip to content

Commit

Permalink
add PhpIntegerMappingType as workaround for default values being quoted
Browse files Browse the repository at this point in the history
  • Loading branch information
johanrosenson committed Feb 6, 2021
1 parent 7a46b36 commit 99b7549
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Timestamp.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\PhpDateTimeMappingType;
use Doctrine\DBAL\Types\PhpIntegerMappingType;
use Doctrine\DBAL\Types\Type;

final class Timestamp extends Type implements PhpDateTimeMappingType
final class Timestamp extends Type implements PhpDateTimeMappingType, PhpIntegerMappingType
{
/**
* The name of the custom type.
Expand Down

0 comments on commit 99b7549

Please sign in to comment.