Skip to content

Instantly share code, notes, and snippets.

@jameslafa
Created July 10, 2013 19:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Rebuild schema.rb from scratch using every migrations
# Rebuild database from schema.rb
rake db:reset
# But this rebuild database from all migrations
rake db:drop db:create db:migrate db:seed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment