如何在 rails 6 中使用 mongodb 设置动作文本

问题描述

我找不到任何文档可以在 mongodb 中使用 rails 6 的操作文本。

如果按照 RailsGuides 中的文档 它需要挂起的迁移:

Migrations are pending. To resolve this issue,run:
        bin/rails db:migrate RAILS_ENV=development
You have 2 pending migrations:
20210222143456_create_active_storage_tables.active_storage.rb
20210222143457_create_action_text_tables.action_text.rb

这不适用于 mongodb。

如果我可以在 rails 6 中使用带有 mongodb 的操作文本,谁能给我一个正确的设置

解决方法

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

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

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