Commit 2661ec2b by Qiang Xue

Merge pull request #4210 from miramir/oci_schema

Removing unnecessary methods
parents cc8ee8d7 0322e427
...@@ -57,15 +57,7 @@ class Schema extends \yii\db\Schema ...@@ -57,15 +57,7 @@ class Schema extends \yii\db\Schema
*/ */
public function quoteSimpleTableName($name) public function quoteSimpleTableName($name)
{ {
return '"' . $name . '"'; return strpos($name, '"') !== false ? $name : '"' . $name . '"';
}
/**
* @inheritdoc
*/
public function quoteSimpleColumnName($name)
{
return $name !== '*' ? '"' . $name . '"' : $name;
} }
/** /**
......
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