Commit e15cfc02 by Carsten Brandt

allow precision for binary type in MSSQL

fixes #4931
parent 69a56e54
...@@ -34,7 +34,7 @@ class QueryBuilder extends \yii\db\QueryBuilder ...@@ -34,7 +34,7 @@ class QueryBuilder extends \yii\db\QueryBuilder
Schema::TYPE_TIMESTAMP => 'timestamp', Schema::TYPE_TIMESTAMP => 'timestamp',
Schema::TYPE_TIME => 'time', Schema::TYPE_TIME => 'time',
Schema::TYPE_DATE => 'date', Schema::TYPE_DATE => 'date',
Schema::TYPE_BINARY => 'binary', Schema::TYPE_BINARY => 'binary(1)',
Schema::TYPE_BOOLEAN => 'bit', Schema::TYPE_BOOLEAN => 'bit',
Schema::TYPE_MONEY => 'decimal(19,4)', Schema::TYPE_MONEY => 'decimal(19,4)',
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment