Browse Source

release version 2.0.24

tags/2.0.24^0 2.0.24
Alexander Makarov 5 years ago
parent
commit
b66a6133dc
No known key found for this signature in database
GPG Key ID: 3617B79C6A325E4A
  1. 2
      framework/BaseYii.php
  2. 12
      framework/CHANGELOG.md
  3. 24
      framework/db/mssql/QueryBuilder.php

2
framework/BaseYii.php

@ -93,7 +93,7 @@ class BaseYii
*/
public static function getVersion()
{
return '2.0.24-dev';
return '2.0.24';
}
/**

12
framework/CHANGELOG.md

@ -1,16 +1,16 @@
Yii Framework 2 Change Log
==========================
2.0.24 under development
------------------------
2.0.24 July 30, 2019
--------------------
- Bug #17457: Fixed `phpTypecast()` for MSSQL (alexkart)
- Bug #17219: Fixed quoting of table names with spaces in MSSQL (alexkart)
- Bug #10020: Fixed quoting of column names with dots in MSSQL (alexkart)
- Bug #17424: Subdomain support for `User::loginRequired` (alex-code)
- Bug #16796: Fixed addition and removal of table and column comments in MSSQL (sdlins)
- Bug #17449: Fixed order of SQL column build syntax for MySQL migration (choken)
- Bug #17219: Fixed quoting of table names with spaces in MSSQL (alexkart)
- Bug #17424: Subdomain support for `User::loginRequired` (alex-code)
- Bug #17437: Fixed generating namespaced migrations (bizley)
- Bug #17449: Fixed order of SQL column build syntax for MySQL migration (choken)
- Bug #17457: Fixed `phpTypecast()` for MSSQL (alexkart)
- Bug #17469: Fixed updating `Yii` logger instance when setting new logger via configuration (samdark)

24
framework/db/mssql/QueryBuilder.php

@ -251,18 +251,18 @@ class QueryBuilder extends \yii\db\QueryBuilder
}
/**
* Builds a SQL command for adding or updating a comment to a table or a column. The command built will check if a comment
* already exists. If so, it will be updated, otherwise, it will be added.
*
* @param string $comment the text of the comment to be added. The comment will be properly quoted by the method.
* @param string $table the table to be commented or whose column is to be commented. The table name will be
* properly quoted by the method.
* @param string $column optional. The name of the column to be commented. If empty, the command will add the
* comment to the table instead. The column name will be properly quoted by the method.
* @return string the SQL statement for adding a comment.
* @throws InvalidArgumentException if the table does not exist.
* @since 2.0.24
*/
* Builds a SQL command for adding or updating a comment to a table or a column. The command built will check if a comment
* already exists. If so, it will be updated, otherwise, it will be added.
*
* @param string $comment the text of the comment to be added. The comment will be properly quoted by the method.
* @param string $table the table to be commented or whose column is to be commented. The table name will be
* properly quoted by the method.
* @param string $column optional. The name of the column to be commented. If empty, the command will add the
* comment to the table instead. The column name will be properly quoted by the method.
* @return string the SQL statement for adding a comment.
* @throws InvalidArgumentException if the table does not exist.
* @since 2.0.24
*/
protected function buildAddCommentSql($comment, $table, $column = null)
{
$tableSchema = $this->db->schema->getTableSchema($table);

Loading…
Cancel
Save