Rails Create Database Only In Test

[Solved] Rails Create Database Only In Test | Ruby - Code Explorer | yomemimo.com
Question : rails create database only in test

Answered by : lior

bundle exec rails db:drop RAILS_ENV=test
bundle exec rails db:create RAILS_ENV=test
bundle exec rails db:schema:load RAILS_ENV=test

Source : | Last Update : Fri, 03 Sep 21

Question : rails check test database

Answered by : eze-promise

Rails drop test database

Source : | Last Update : Fri, 11 Mar 22

Answers related to rails create database only in test

Code Explorer Popular Question For Ruby