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 64a29b2 commit cc64146Copy full SHA for cc64146
lib/MwbExporter/Formatter/Doctrine2/DatatypeConverter.php
@@ -114,7 +114,6 @@ public function getNativeType($type)
114
switch ($type) {
115
case 'array':
116
case 'boolean':
117
- case 'datetime':
118
case 'integer':
119
case 'string':
120
case 'float':
@@ -126,10 +125,11 @@ public function getNativeType($type)
126
125
$type = 'integer';
127
break;
128
+ case 'datetime':
129
case 'datetimez':
130
case 'date':
131
case 'time':
132
- $type = 'datetime';
+ $type = '\\DateTime';
133
134
135
case 'decimal':
@@ -158,4 +158,4 @@ public function getMappedType(Column $column)
158
159
return $type;
160
}
161
-}
+}
0 commit comments