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