Commit 9623c129 by Qiang Xue

Merge pull request #1649 from Ragazzo/dbfixture_manager_fix

fixed sequence reset
parents 42b4a991 5c2c79e7
......@@ -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)) {
......
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