更改数据库架构后恢复 Typus 插件

发布于 2024-08-27 04:26:45 字数 217 浏览 6 评论 0原文

我为我的应用程序安装了 Typus 插件 (http://intraducibles.com/projects/typus),并且我爱它。但在应用程序的开发过程中,我经常进行迁移并更改数据库架构和关系,然后插件就会失败。有没有办法使用新架构重新生成插件?谢谢!

I installed Typus plugin (http://intraducibles.com/projects/typus) for my app and I love it. But along the development of the app I frequently do migrations and change the DB Schema and relationships, and then the plugin fails. Is there a way to re-generate the plugin with the new schema? Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

囍笑 2024-09-03 04:26:45

我认为只要

rails generate typus

再次进入就会让事情恢复正常。

I think simply entering

rails generate typus

again will set things right.

您的好友蓝忘机已上羡 2024-09-03 04:26:45

仅在开发周期结束时删除并重新安装 Typus。

Only removing and reinstalling Typus at the end of the development cycle.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文