Commit 2661ec2b by Qiang Xue

Merge pull request #4210 from miramir/oci_schema

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