Recreate Database - Ruby on Rails

GuidesRuby on RailsWeb Development

Hey everyone,

Due to an issue with a few migrations in a dev environment I needed to recreate the database. A quick Google search revealed that it is possible to do this in a single line:

#Execute via console
rake db:drop db:create