Skip to content

Commit

Permalink
[DB] Remove COMMENT database configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
lchrusciel committed Apr 7, 2020
1 parent f931937 commit 2c25a55
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Entity/Type/RefundEnumType.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ public function getName(): string

public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform): string
{
if ($platform->getName() === 'sqlite') {
return 'VARCHAR(256)';
}

return 'VARCHAR(256) COMMENT "sylius_refund_refund_type"';
return 'VARCHAR(256)';
}

public function convertToPHPValue($value, AbstractPlatform $platform): RefundType
Expand Down

0 comments on commit 2c25a55

Please sign in to comment.