# Db:migrate fails on discourse-calendar (stable branches)

**URL:** https://meta.discourse.org/t/db-migrate-fails-on-discourse-calendar-stable-branches/127787
**Category:** Self-hosting
**Created:** [September 6, 2019, 9:41am UTC](https://meta.discourse.org/t/db-migrate-fails-on-discourse-calendar-stable-branches/127787 "2019-09-06T09:41:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)
#### Post date: [September 6, 2019, 9:41am UTC](https://meta.discourse.org/t/db-migrate-fails-on-discourse-calendar-stable-branches/127787/1 "2019-09-06T09:41:36Z")

</div>

Hi @zogstrip,

Following this: [Db:migrate fails on discourse-calendar - #2 by sam](https://meta.discourse.org/t/db-migrate-fails-on-discourse-calendar/124229/2)

It also fails for stable branches (concretely the latest one `v2.3.3`)

```bash
rake aborted!
NoMethodError: undefined method `register_user_custom_field_type' for #<Plugin::Instance:0x00005584c81a8158>
Did you mean? register_post_custom_field_type
               register_group_custom_field_type
               register_category_custom_field_type
               register_topic_custom_field_type
/var/www/discourse/plugins/discourse-calendar/plugin.rb:72:in `block in activate!'

```

Any plans to fix it?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [September 6, 2019, 10:19am UTC](https://meta.discourse.org/t/db-migrate-fails-on-discourse-calendar-stable-branches/127787/2 "2019-09-06T10:19:29Z")

</div>

Just [backported](https://github.com/discourse/discourse/commit/39a427efce3202bf771ff61b2c28289afd250ec7) to stable. Can you update and try again?

---

<div class="post-metadata">

### Author: ![trobiyo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trobiyo/32/311872_2.png) [@trobiyo](https://meta.discourse.org/u/trobiyo)
#### Post date: [September 6, 2019, 11:55am UTC](https://meta.discourse.org/t/db-migrate-fails-on-discourse-calendar-stable-branches/127787/3 "2019-09-06T11:55:47Z")

</div>

Confirmed, working as expected now 👏

Many thanks for your quick action!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 7, 2019, 9:58am UTC](https://meta.discourse.org/t/db-migrate-fails-on-discourse-calendar-stable-branches/127787/4 "2019-09-07T09:58:53Z")

</div>


