mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-11 19:20:01 +08:00
fix unnecessary diff
This commit is contained in:
@@ -52,6 +52,14 @@ class Schema extends \yii\db\Schema
|
|||||||
// does nothing as Oracle does not support this
|
// does nothing as Oracle does not support this
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @inheritdoc
|
||||||
|
*/
|
||||||
|
public function quoteSimpleTableName($name)
|
||||||
|
{
|
||||||
|
return strpos($name, '"') !== false ? $name : '"' . $name . '"';
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* @inheritdoc
|
||||||
*/
|
*/
|
||||||
@@ -97,11 +105,6 @@ class Schema extends \yii\db\Schema
|
|||||||
$table->fullName = $table->schemaName !== $this->defaultSchema ? $table->schemaName . '.' . $table->name : $table->name;
|
$table->fullName = $table->schemaName !== $this->defaultSchema ? $table->schemaName . '.' . $table->name : $table->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function quoteSimpleTableName($name)
|
|
||||||
{
|
|
||||||
return strpos($name, '"') !== false ? $name : '"' . $name . '"';
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Collects the table column metadata.
|
* Collects the table column metadata.
|
||||||
* @param TableSchema $table the table schema
|
* @param TableSchema $table the table schema
|
||||||
|
|||||||
Reference in New Issue
Block a user