Skip to content

Commit 0fdcd87

Browse files
authored
Fix for typecast decimal columns (#229)
1 parent add9679 commit 0fdcd87

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/Provider/SchemaProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,15 @@ public function columns(): array
163163
'numeric_col' => [
164164
'type' => 'decimal',
165165
'dbType' => 'decimal(5,2)',
166-
'phpType' => 'string',
166+
'phpType' => 'double',
167167
'primaryKey' => false,
168168
'allowNull' => true,
169169
'autoIncrement' => false,
170170
'enumValues' => null,
171171
'size' => 5,
172172
'precision' => 5,
173173
'scale' => 2,
174-
'defaultValue' => '33.22',
174+
'defaultValue' => 33.22,
175175
],
176176
'time' => [
177177
'type' => 'timestamp',

0 commit comments

Comments
 (0)