Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. Rollback em migration especifica Rails:
  2.  
  3. $ rake db:migrate:status
  4.  
  5. $ rake db:migrate:down VERSION=<timestamp/Migration ID>
  6.  
  7. $ rake db:migrate:up VERSION=<timestamp/Migration ID>
  8.  
  9. ***
  10.  
  11. Ex:
  12. rake db:migrate:down VERSION=20190923210901
  13. rake db:migrate:up VERSION=20190923210901
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement