WordPress migration SQL statement generator