mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-10-31 10:39:59 +08:00 
			
		
		
		
	Revert 20045.
This commit is contained in:
		| @ -3,7 +3,6 @@ Yii Framework 2 Change Log | ||||
|  | ||||
| 2.0.50 under development | ||||
| ------------------------ | ||||
| - Bug #20045: Fix type `boolean` in `MySQL` (terabytesoftw) | ||||
| - Bug #20040: Fix type `boolean` in `MSSQL` (terabytesoftw) | ||||
| - Bug #20005: Fix `yii\console\controllers\ServeController` to specify the router script (terabytesoftw) | ||||
| - Bug #19060: Fix `yii\widgets\Menu` bug when using Closure for active item and adding additional tests in `tests\framework\widgets\MenuTest` (atrandafir) | ||||
|  | ||||
| @ -279,7 +279,7 @@ SQL; | ||||
|                     if (isset($values[1])) { | ||||
|                         $column->scale = (int) $values[1]; | ||||
|                     } | ||||
|                     if ($column->size === 1 && ($type === 'tinyint' || $type === 'bit')) { | ||||
|                     if ($column->size === 1 && $type === 'bit') { | ||||
|                         $column->type = 'boolean'; | ||||
|                     } elseif ($type === 'bit') { | ||||
|                         if ($column->size > 32) { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Wilmer Arambula
					Wilmer Arambula