Permalink
Browse files

remove `numeric` from `unsigned` config

  • Loading branch information...
1 parent 1d9ecc6 commit 00fb663f9045eac6c183ed885f50c0ae19c0744a imsamurai committed Nov 17, 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', 'decimal')
+ 'types' => array('integer', 'float', 'decimal', 'biginteger')
)
);
@@ -3248,7 +3248,7 @@ public function buildColumnUnsignedProvider() {
array(
array(
'name' => 'testName',
- 'type' => 'numeric',
+ 'type' => 'decimal',
'unsigned' => true
),
'`testName` decimal UNSIGNED'
@@ -3257,20 +3257,11 @@ public function buildColumnUnsignedProvider() {
array(
array(
'name' => 'testName',
- 'type' => 'numeric',
+ 'type' => 'decimal',
'unsigned' => true,
'default' => 1
),
'`testName` decimal UNSIGNED DEFAULT 1'
- ),
- //set #8
- array(
- array(
- 'name' => 'testName',
- 'type' => 'decimal',
- 'unsigned' => true
- ),
- '`testName` decimal UNSIGNED'
)
);
}

0 comments on commit 00fb663

Please sign in to comment.