mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Making FixtureTask always refresh schema for models.
This commit is contained in:
parent
31fff5e390
commit
fdd8cf0138
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue