Squasher - squash your old migrations in a single command

Squasher compresses old migrations in a Rails application. If you work on a big project with lots of migrations, every rake db:migrate might take a few seconds, or creating of a new database might take a few minutes. That's because Rails loads all those migration files. Squasher removes all the migrations and creates a single migration with the final database state of the specified date (the new migration will look like a schema).
Squasher - squash your old migrations in a single command #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/squasher-squash-your-old-migrations-in-a-single-command

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles