See https://github.com/yiisoft/yii2/commit/481970957b18fd3b7c1a031984d3826249208563 1. This commit should be reverted. 2. There should be new migration that changes column type. 3. Raw SQLs should be also adjusted.