release version 2.0.13

This commit is contained in:
Alexander Makarov
2017-11-03 01:09:29 +03:00
parent 5a68ec3b27
commit 2d672b6722
23 changed files with 80 additions and 46 deletions

View File

@ -66,8 +66,6 @@ use yii\base\InvalidConfigException;
* marks a relation as inverse of another relation and [[onCondition()]] which adds a condition that
* is to be added to relational query join condition.
*
* @property string[] $tablesUsedInFrom Table names indexed by aliases. This property is read-only.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carsten Brandt <mail@cebe.cc>
* @since 2.0

View File

@ -48,7 +48,7 @@ use yii\base\NotSupportedException;
* For more details and usage information on Command, see the [guide article on Database Access Objects](guide:db-dao).
*
* @property string $rawSql The raw SQL with parameter values inserted into the corresponding placeholders in
* [[sql]]. This property is read-only.
* [[sql]].
* @property string $sql The SQL statement to be executed.
*
* @author Qiang Xue <qiang.xue@gmail.com>

View File

@ -65,14 +65,12 @@ class Migration extends Component implements MigrationInterface
* ```
*/
public $db = 'db';
/**
* @var int max number of characters of the SQL outputted. Useful for reduction of long statements and making
* console output more compact.
* @since 2.0.13
*/
public $maxSqlOutputLength;
/**
* @var bool indicates whether the console output should be compacted.
* If this is set to true, the individual commands ran within the migration will not be output to the console.
@ -81,6 +79,7 @@ class Migration extends Component implements MigrationInterface
*/
public $compact = false;
/**
* Initializes the migration.
* This method will set [[db]] to be the 'db' application component, if it is `null`.
@ -543,7 +542,7 @@ class Migration extends Component implements MigrationInterface
/**
* Prepares for a command to be executed, and outputs to the console.
*
*
* @param string $description the description for the command, to be output to the console.
* @return float the time before the command is executed, for the time elapsed to be calculated.
* @since 2.0.13
@ -558,7 +557,7 @@ class Migration extends Component implements MigrationInterface
/**
* Finalizes after the command has been executed, and outputs to the console the time elapsed.
*
*
* @param float $time the time before the command was executed.
* @since 2.0.13
*/

View File

@ -40,6 +40,8 @@ use yii\base\InvalidConfigException;
*
* A more detailed usage guide on how to work with Query can be found in the [guide article on Query Builder](guide:db-query-builder).
*
* @property string[] $tablesUsedInFrom Table names indexed by aliases. This property is read-only.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carsten Brandt <mail@cebe.cc>
* @since 2.0

View File

@ -61,7 +61,6 @@ abstract class Schema extends BaseObject
const TYPE_BINARY = 'binary';
const TYPE_BOOLEAN = 'boolean';
const TYPE_MONEY = 'money';
/**
* Schema cache version, to detect incompatibilities in cached values when the
* data format of the cache changes.

View File

@ -67,6 +67,7 @@ class Schema extends \yii\db\Schema
'enum' => self::TYPE_STRING,
];
/**
* @inheritDoc
*/