update upgrade file

This commit is contained in:
githubjeka
2016-10-04 13:02:05 +03:00
parent c6dbf37139
commit 6f49cef800

View File

@@ -18,10 +18,10 @@ php composer.phar global require "fxp/composer-asset-plugin:^1.2.0"
Upgrade from Yii 2.0.9 Upgrade from Yii 2.0.9
---------------------- ----------------------
* MSSQL: NTEXT data type marked as deprecated. (https://msdn.microsoft.com/en-us/library/ms187993.aspx) * NTEXT data type was marked as deprecated (https://msdn.microsoft.com/en-us/library/ms187993.aspx) so
Because `\yii\db\Schema::TYPE_TEXT` changed to `nvarchar` from `ntext`. By default nvarchar defines 4000 string length. `\yii\db\Schema::TYPE_TEXT` was changed from `'ntext'` to `'nvarchar'`. By default `nvarchar` defines a
If you need `Schema::TYPE_TEXT = nvarchar(max)`, you can change in your code. Have not done it by default, because string of length 4000. If you need `Schema::TYPE_TEXT = nvarchar(max)`, you can adjust it in your code.
MAX keyword is new to SQL Server 2005. It's not like that by default because `MAX` keyword is new to SQL Server 2005.
Upgrade from Yii 2.0.8 Upgrade from Yii 2.0.8
---------------------- ----------------------