📜  rails prepare testing db - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:48.485000             🧑  作者: Mango

代码示例1
bundle exec rake db:drop RAILS_ENV=test
bundle exec rake db:create RAILS_ENV=test
bundle exec rake db:schema:load RAILS_ENV=test