We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 500d556 commit 4bd3cdaCopy full SHA for 4bd3cda
Doctrine/Types/NTextType.php
@@ -0,0 +1,36 @@
1
+<?php
2
+
3
4
+namespace MediaMonks\MssqlBundle\Doctrine\Types;
5
6
+use Doctrine\DBAL\Types\Type;
7
+use Doctrine\DBAL\Platforms\AbstractPlatform;
8
9
+class NTextType extends Type
10
+{
11
+ const NTEXT = 'ntext';
12
13
+ /**
14
+ * {@inheritdoc}
15
+ */
16
+ public function getName()
17
+ {
18
+ return self::NTEXT;
19
+ }
20
21
22
23
24
+ public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
25
26
+ return 'NTEXT';
27
28
29
30
31
32
+ public function requiresSQLCommentHint(AbstractPlatform $platform)
33
34
+ return true;
35
36
+}
0 commit comments