Skip to content

Fix data migrate deployment task

Compare
Choose a tag to compare
@tmichaelreis tmichaelreis released this 18 Feb 22:07

The capistrano deployment migration task bundled with the data-migrate gem is broken and only runs migrations if both data AND database migration files are deployed.

This overwrites that capistrano task to run db_migrate_with_data if there are new data OR database migration files being deployed.