Shin Code log

Logs of solution for code
June 06, 2021

[Rails] Fast way to re-create db

[Rails] Fast way to re-create db

In development environment, we need a fast way to re-create db for testing. With Ruby on Rails, we had a good way to do this with the command:


rails db:schema:load