Fixed #14180 -- Prevented unneeded index creation on MySQL-InnoDB

Thanks zimnyx for the report.
Yes, it's tested by migrations.test_commands.MigrateTests.test_sqlmigrate (if that was the question).