mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
update upgrade file
This commit is contained in:
@ -18,10 +18,10 @@ php composer.phar global require "fxp/composer-asset-plugin:^1.2.0"
|
||||
Upgrade from Yii 2.0.9
|
||||
----------------------
|
||||
|
||||
* MSSQL: NTEXT data type marked as deprecated. (https://msdn.microsoft.com/en-us/library/ms187993.aspx)
|
||||
Because `\yii\db\Schema::TYPE_TEXT` changed to `nvarchar` from `ntext`. By default nvarchar defines 4000 string length.
|
||||
If you need `Schema::TYPE_TEXT = nvarchar(max)`, you can change in your code. Have not done it by default, because
|
||||
MAX keyword is new to SQL Server 2005.
|
||||
* NTEXT data type was marked as deprecated (https://msdn.microsoft.com/en-us/library/ms187993.aspx) so
|
||||
`\yii\db\Schema::TYPE_TEXT` was changed from `'ntext'` to `'nvarchar'`. By default `nvarchar` defines a
|
||||
string of length 4000. If you need `Schema::TYPE_TEXT = nvarchar(max)`, you can adjust it in your code.
|
||||
It's not like that by default because `MAX` keyword is new to SQL Server 2005.
|
||||
|
||||
Upgrade from Yii 2.0.8
|
||||
----------------------
|
||||
|
||||
Reference in New Issue
Block a user