Added Schema::DOUBLE to represent ANSI SQL Double Precision

This commit is contained in:
Alexander Makarov
2015-02-25 16:01:37 +03:00
parent 787ec74b92
commit 5870a74672
15 changed files with 22 additions and 6 deletions

View File

@@ -29,6 +29,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
Schema::TYPE_INTEGER => 'integer',
Schema::TYPE_BIGINT => 'bigint',
Schema::TYPE_FLOAT => 'double precision',
Schema::TYPE_DOUBLE => 'double precision',
Schema::TYPE_DECIMAL => 'numeric(10,0)',
Schema::TYPE_DATETIME => 'timestamp(0)',
Schema::TYPE_TIMESTAMP => 'timestamp(0)',