PiwikPRO / plugin-SiteMigration

Migrate websites and website data between two Piwik installations
17 stars 3 forks source link

When `--db-prefix` is different from the source db prefix, script fails #3

Closed mattab closed 9 years ago

mattab commented 9 years ago

When target --db-prefix is set to a value different from the source db prefix, the script will not migrate the data because the sequence does not use the target db prefix in https://github.com/piwik/piwik/blob/master/core/Sequence.php#L46-46

The sequence uses Common::prefixTable to prefix the table and does not use the internal DB object this->db.

mnapoli commented 9 years ago

Fixed in v1.0.4