fix unnecessary diff

This commit is contained in:
miramir
2014-07-07 21:24:21 +06:00
parent 93c567e7e1
commit 0322e427e7

View File

@@ -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
*/ */
@@ -97,11 +105,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.
* @param TableSchema $table the table schema * @param TableSchema $table the table schema