File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class Encrypted extends Type
2020 */
2121 public function getSQLDeclaration (array $ fieldDeclaration , AbstractPlatform $ platform ): string
2222 {
23- return ' TEXT COMMENT \' (DC2Type:encrypted) \'' ;
23+ return $ platform -> getClobTypeDeclarationSQL ( $ fieldDeclaration ) ;
2424 }
2525
2626 /**
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class EncryptedArrayCollection extends Type
2121 */
2222 public function getSQLDeclaration (array $ fieldDeclaration , AbstractPlatform $ platform ): string
2323 {
24- return ' LONGTEXT COMMENT \' (DC2Type:encryptedArrayCollection) \'' ;
24+ return $ platform -> getClobTypeDeclarationSQL ( $ fieldDeclaration ) ;
2525 }
2626
2727 /**
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class Hashed extends Type
2020 */
2121 public function getSQLDeclaration (array $ fieldDeclaration , AbstractPlatform $ platform ): string
2222 {
23- return ' VARCHAR(255) COMMENT \' (DC2Type:hashed) \'' ;
23+ return $ platform -> getVarcharTypeDeclarationSQL ( $ fieldDeclaration ) ;
2424 }
2525
2626 /**
You can’t perform that action at this time.
0 commit comments