# 关系 "discourse\_automation\_automations" 从 3.3beta1 恢复到 3.5beta7

**URL:** <https://meta.discourse.org/t/relation-discourse-automation-automations-restoring-from-3-3beta1-to-3-5beta7/371519>\
**Category:** Self-hosting\
**Tags:** hosting\
**Created:** [2025年六月24日 16:45 UTC](https://meta.discourse.org/t/relation-discourse-automation-automations-restoring-from-3-3beta1-to-3-5beta7/371519 "2025-06-24T16:45:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2025年六月24日 19:57 UTC](https://meta.discourse.org/t/relation-discourse-automation-automations-restoring-from-3-3beta1-to-3-5beta7/371519/5 "2025-06-24T19:57:16Z")

</div>

所以我删除了这些：

```plaintext
20210108134117_add_pending_pms_table.rb
20210512090204_add_timestamps_to_automations.rb
20210530122323_move_triggers_to_fields.rb
20211119103353_adds_discourse_automation_user_global_notice.rb
20230412120414_add_prefers_encrypt_field_to_pending_pms.rb

```

并且可能应该删除 `20190601000001_create_automations_table.rb`，但相反，我添加了 `unless table exists` 代码（我认为当我删除它时遇到了另一个问题？）。

最后我终于恢复了它。

---

_[View the full topic](https://meta.discourse.org/t/relation-discourse-automation-automations-restoring-from-3-3beta1-to-3-5beta7/371519)._
