rake db:destroy code example Example: rails reset database rails db:reset // drop database and create/migrate all in one