📜  rails 仅在测试中创建数据库 - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:46.294000             🧑  作者: Mango

代码示例1
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