You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use FlexDatabaseMigrate\Database\DatabaseConnector;
use FlexDatabaseMigrate\Migration\DataMigrator;
$sourceDb = new DatabaseConnector(DB_SOURCE);
$destinationDb = new DatabaseConnector(DB_TARGET);
$migrator = new DataMigrator($sourceDb, $destinationDb, 'id');
// This method updates the values of a column in the destination table using the values from a column in the source table, based on a common identifier.
// This method migrates the data from an entire table to another, creating the destination table if it does not exist and updating the fields if it does.