Sunnysideup\MigrateData\Tasks\MigrateDataTaskBase::migrateSimple
Migrates data from one table to another.
Signature
protected function migrateSimple(bool
$includeInserts,
string
$tableOld,
string
$tableNew,
array
$fieldNamesOld,
array
$fieldNamesNew,
[array
$leftJoin = ,
[string
$where = '']] )
Parameters
$includeInserts
—
bool
- - the db table where we are moving fields from
$tableOld
—
string
- - the db table where we are moving fields from
$tableNew
—
string
- - the db table where we are moving fields to
$fieldNamesOld
—
array
- - The current field names
$fieldNamesNew
—
array
- - The new field names (this may be the same as $fieldNameOld)
$leftJoin
—
array
- -
$where
—
string
- -