mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +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
|
'recursive' => -1
|
||||||
));
|
));
|
||||||
$db =& ConnectionManager::getDataSource($modelObject->useDbConfig);
|
$db =& ConnectionManager::getDataSource($modelObject->useDbConfig);
|
||||||
$schema = $modelObject->schema();
|
$schema = $modelObject->schema(true);
|
||||||
$out = array();
|
$out = array();
|
||||||
foreach ($records as $record) {
|
foreach ($records as $record) {
|
||||||
$row = array();
|
$row = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue