Any reason why TYPE_PK is not an unsigned int?
vendor/yiisoft/yii2/yii/db/mysql/QueryBuilder.php line 25
Could it be
Schema::TYPE_PK => 'int(11) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY',
Even if there is a 32bit php limitation, isn’t unsigned int the way to go? Overflow will be a problem either way on 32bit platform.