Rails test環境のDBを初期化する

RAILS_ENVtest を指定する

bundle exec rails db:migrate:reset RAILS_ENV=test

削除、作成、migrateを個別にする

bundle exec rails db:drop RAILS_ENV=test
bundle exec rails db:create RAILS_ENV=test
bundle exec rails db:migrate RAILS_ENV=test