How to use:
- upload to your \administrator\components\com_admin\sql\updates\mysql\update.php
- run via CLI or WEB
- after you get OK on all queries or duplicate keys, you can remove the file - do not leave the file on a production site
This file was created to resolve this problem: