Browse Source

Fixed the signature of Schema::findUniqueIndexes().

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
ab05f0d791
  1. 2
      framework/yii/db/Schema.php

2
framework/yii/db/Schema.php

@ -264,7 +264,7 @@ abstract class Schema extends Object
* @return array all unique indexes for the given table.
* @throws NotSupportedException if this method is called
*/
public function findUniqueIndexes($schema = '')
public function findUniqueIndexes($table)
{
throw new NotSupportedException(get_class($this) . ' does not support getting unique indexes information.');
}

Loading…
Cancel
Save