Permalink
Browse files

add decimal type for unsigned

  • Loading branch information...
1 parent 15805e6 commit f1a2c1a75c0424f750f358e7f3770ecfc6927aea imsamurai committed Nov 14, 2013
@@ -91,7 +91,7 @@ class Mysql extends DboSource {
'value' => 'UNSIGNED', 'quote' => false, 'join' => ' ', 'column' => false, 'position' => 'beforeDefault',
'noVal' => true,
'options' => array(true),
- 'types' => array('integer', 'float', 'biginteger', 'numeric')
+ 'types' => array('integer', 'float', 'biginteger', 'numeric', 'decimal')
)
);
@@ -3262,6 +3262,15 @@ public function buildColumnUnsignedProvider() {
'default' => 1
),
'`testName` decimal UNSIGNED DEFAULT 1'
+ ),
+ //set #8
+ array(
+ array(
+ 'name' => 'testName',
+ 'type' => 'decimal',
+ 'unsigned' => true
+ ),
+ '`testName` decimal UNSIGNED'
)
);
}

0 comments on commit f1a2c1a

Please sign in to comment.