mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-25 11:10:36 +08:00
Merge pull request #4210 from miramir/oci_schema
Removing unnecessary methods
This commit is contained in:
@@ -52,20 +52,12 @@ class Schema extends \yii\db\Schema
|
||||
// does nothing as Oracle does not support this
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function quoteSimpleTableName($name)
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function quoteSimpleTableName($name)
|
||||
{
|
||||
return '"' . $name . '"';
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
public function quoteSimpleColumnName($name)
|
||||
{
|
||||
return $name !== '*' ? '"' . $name . '"' : $name;
|
||||
return strpos($name, '"') !== false ? $name : '"' . $name . '"';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user