Browse Source

fix unnecessary diff

tags/2.0.0-rc
miramir 10 years ago
parent
commit
0322e427e7
  1. 13
      framework/db/oci/Schema.php

13
framework/db/oci/Schema.php

@ -52,6 +52,14 @@ class Schema extends \yii\db\Schema
// does nothing as Oracle does not support this
}
/**
* @inheritdoc
*/
public function quoteSimpleTableName($name)
{
return strpos($name, '"') !== false ? $name : '"' . $name . '"';
}
/**
* @inheritdoc
*/
@ -97,11 +105,6 @@ class Schema extends \yii\db\Schema
$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.
* @param TableSchema $table the table schema

Loading…
Cancel
Save