Browse Source

fixed sequence reset

tags/2.0.0-beta
Mark 11 years ago
parent
commit
5c2c79e776
  1. 1
      framework/yii/test/DbFixtureManager.php

1
framework/yii/test/DbFixtureManager.php

@ -146,6 +146,7 @@ class DbFixtureManager extends Component
}
$this->db->createCommand()->truncateTable($tableName)->execute();
$this->db->createCommand()->resetSequence($tableName,1)->execute();
$fileName = $this->basePath . '/' . $tableName . '.php';
if (!is_file($fileName)) {

Loading…
Cancel
Save