Commit 8976b7cb by Carsten Brandt

moved MSSQL specific property to mssql TableSchema

parent d4995ddc
...@@ -21,12 +21,6 @@ use yii\base\InvalidParamException; ...@@ -21,12 +21,6 @@ use yii\base\InvalidParamException;
class TableSchema extends Object 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. * @var string name of the schema that this table belongs to.
*/ */
public $schemaName; public $schemaName;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
namespace yii\db\mssql; namespace yii\db\mssql;
use yii\db\TableSchema; use yii\db\mssql\TableSchema;
use yii\db\ColumnSchema; use yii\db\ColumnSchema;
/** /**
......
<?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 <qiang.xue@gmail.com>
* @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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment