Skip to content

Commit

Permalink
Making FixtureTask always refresh schema for models.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 30, 2009
1 parent 31fff5e commit fdd8cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/console/libs/tasks/fixture.php
Expand Up @@ -378,7 +378,7 @@ function _getRecordsFromTable($modelName, $useTable = null) {
'recursive' => -1
));
$db =& ConnectionManager::getDataSource($modelObject->useDbConfig);
$schema = $modelObject->schema();
$schema = $modelObject->schema(true);
$out = array();
foreach ($records as $record) {
$row = array();
Expand Down

0 comments on commit fdd8cf0

Please sign in to comment.