This gem provides clean db/structure.sql.
db/structure.sql
Add this line to your application's Gemfile:
gem 'enhanced_mysql_tasks'