Skip to content

Instantly share code, notes, and snippets.

@roalcantara
Created July 23, 2014 03:23
Show Gist options
  • Save roalcantara/2c1e68cc9c569c3a2c3e to your computer and use it in GitHub Desktop.
Save roalcantara/2c1e68cc9c569c3a2c3e to your computer and use it in GitHub Desktop.
Rails 4 + Migration: rake db:rollback not working: ********** NO FILE **********
#not working
rake db:rollback
#check the pendings migrations
rake db:migrate:status
Status Migration ID Migration Name
--------------------------------------------------
...
up 20130307154128 Change columns in traffic capture
up 20130405164752 Fix ap hostnames
up 20130410194222 ********** NO FILE **********
#in the database
delete from schema_migrations where version='<MIGRATION_ID>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment