|
|
|
@ -132,7 +132,8 @@ class Migration extends \yii\base\Component
|
|
|
|
|
* Executes a SQL statement. |
|
|
|
|
* This method executes the specified SQL statement using [[db]]. |
|
|
|
|
* @param string $sql the SQL statement to be executed |
|
|
|
|
* @param array $params input parameters (name=>value) for the SQL execution. See [[Command::execute()]] for more details. |
|
|
|
|
* @param array $params input parameters (name => value) for the SQL execution. |
|
|
|
|
* See [[Command::execute()]] for more details. |
|
|
|
|
*/ |
|
|
|
|
public function execute($sql, $params = array()) |
|
|
|
|
{ |
|
|
|
|