Skip to content

Commit

Permalink
moved MSSQL specific property to mssql TableSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Sep 5, 2013
1 parent d4995dd commit 8976b7c
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
6 changes: 0 additions & 6 deletions framework/yii/db/TableSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@
*/
class TableSchema extends Object
{
/**
* @var string name of the catalog (database) that this table belongs to.
* Defaults to null, meaning no catalog (or the current database).
* This property is only meaningful for MSSQL.
*/
public $catalogName;
/**
* @var string name of the schema that this table belongs to.
*/
Expand Down
2 changes: 1 addition & 1 deletion framework/yii/db/mssql/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace yii\db\mssql;

use yii\db\TableSchema;
use yii\db\mssql\TableSchema;
use yii\db\ColumnSchema;

/**
Expand Down
23 changes: 23 additions & 0 deletions framework/yii/db/mssql/TableSchema.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright &copy; 2008-2011 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/

namespace yii\db\mssql;

/**
* TableSchema represents the metadata of a database table.
*
* @author Qiang Xue <[email protected]>
* @since 2.0
*/
class TableSchema extends \yii\db\TableSchema
{
/**
* @var string name of the catalog (database) that this table belongs to.
* Defaults to null, meaning no catalog (or the current database).
*/
public $catalogName;
}

0 comments on commit 8976b7c

Please sign in to comment.