Commit 93c567e7 by Иван Багаев

Retriev quoteSimpleTableName

parent 9c55cc48
...@@ -96,6 +96,11 @@ class Schema extends \yii\db\Schema ...@@ -96,6 +96,11 @@ 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