Making FixtureTask always refresh schema for models.

This commit is contained in:
Mark Story 2009-12-29 22:39:49 -05:00
parent 31fff5e390
commit fdd8cf0138

View file

@ -378,7 +378,7 @@ class FixtureTask extends Shell {
'recursive' => -1
));
$db =& ConnectionManager::getDataSource($modelObject->useDbConfig);
$schema = $modelObject->schema();
$schema = $modelObject->schema(true);
$out = array();
foreach ($records as $record) {
$row = array();