Commit d06685ff by Иван Багаев

Asterisk in Oracle not need quote

If quote asterisk oracle say "Syntax error"
parent 3405f8e8
......@@ -57,7 +57,7 @@ class Schema extends \yii\db\Schema
*/
public function quoteSimpleTableName($name)
{
return '"' . $name . '"';
return $name !== '*' ? '"' . $name . '"' : $name;
}
/**
......@@ -65,7 +65,7 @@ class Schema extends \yii\db\Schema
*/
public function quoteSimpleColumnName($name)
{
return '"' . $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