How can I convert all migration files into a single file in Rails?

Viewed 1659

I have been developing a project in Ruby on Rails. During the development I have generated tons of migration files for my project. Sometimes I have added and deleted columns from different tables.

Is there a way that I could consolidate all the migrations from multiple files into a single file?

3 Answers
Related