如何运行verbose rake db:seed Rails 6.1.3?

问题描述

rake db:migrate 成功后(与表创建状态相呼应),我运行 rake db:seed

但是 rake db:seed 什么都不做,回显并且什么都不返回。

$ rake db:seed --trace
** Invoke db:seed (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:load_config
** Execute db:seed
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke db:load_config 
** Execute db:abort_if_pending_migrations

是我能得到的最多。

我确定发生了一些记录验证或创建,但我如何将这些作为运行 rake 的结果显示出来?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)