Commit 0322e427 by miramir

fix unnecessary diff

parent 93c567e7
...@@ -52,6 +52,14 @@ class Schema extends \yii\db\Schema ...@@ -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
*/ */
...@@ -96,11 +104,6 @@ class Schema extends \yii\db\Schema ...@@ -96,11 +104,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.
......
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