Checked: Since 2000

Von meinem iPhone gesendet

> Am 26.10.2013 um 15:05 schrieb Alexanders Makarov <notifications@github.com>:
> 
> In framework/yii/db/mssql/QueryBuilder.php:
> 
> > @@ -38,6 +38,103 @@ class QueryBuilder extends \yii\db\QueryBuilder
> >  		Schema::TYPE_MONEY => 'decimal(19,4)',
> >  	);
> >  
> > +  /**
> > +   * Builds a SQL statement for renaming a DB table.
> > +   * @param string $table the table to be renamed. The name will be properly quoted by the method.
> > +   * @param string $newName the new table name. The name will be properly quoted by the method.
> > +   * @return string the SQL statement for renaming a DB table.
> > +   * @since 1.1.6
> > +   */
> > +  public function renameTable($table, $newName)
> > +  {
> > +    $quotedTable = $this->db->quoteTableName($table);
> > +    return "sp_rename '$quotedTable', '$newName'";
> Since which version it's supported?
> 
> —
> Reply to this email directly or view it on GitHub.