Data expiration update

Hi, I'm having an issue getting the data expiration that was in the 0.14.0 update working. Our Novu was originally set up with version 0.13.0 and has since been upgraded to 0.16.0 but the data expiration is still not working. Is there a manual migration or something similar that needs to be run so that data expiration will be applied to the notifications?
10 Replies
Pawan Jain
Pawan Jain12mo ago
@jack_macnamara Yeah, you need to run migration from root directory Checkout our release notes. We have added migration instruction with each release https://github.com/novuhq/novu/releases
GitHub
Releases · novuhq/novu
🔥 The open-source notification infrastructure with fully functional embedded notification center 🚀🚀🚀 - novuhq/novu
jack_macnamara
jack_macnamaraOP12mo ago
@Pawan Jain Hi Pawan, I had a look at the release notes but I can't seem to find any migration instructions for that release. The only changes I can see are how to disable TTL Would you be able to send on the location of the migration instructions?
Pawan Jain
Pawan Jain12mo ago
@jack_macnamara you are currently on version 0.16.0 and you upgraded from 0.13.0? Just to confirm
jack_macnamara
jack_macnamaraOP12mo ago
Yes @Pawan Jain any chance you could point me in the direction of the migration instructions?
Pawan Jain
Pawan Jain12mo ago
@jack_macnamara If you check your mongodb collections, do you see expireAt field in messsage collection records?
jack_macnamara
jack_macnamaraOP12mo ago
@Pawan Jain no we don't have that field
Novu_Bot
Novu_Bot12mo ago
@jack_macnamara, you just advanced to level 1!
Pawan Jain
Pawan Jain12mo ago
@Gali Baum could you please help us here? In which release we added this field?
Gali Baum
Gali Baum12mo ago
It was added in v0.14.0 and the migration script was added in v0.15.0 https://docs.novu.co/additional-resources/data-migrations#running-migrations
jack_macnamara
jack_macnamaraOP12mo ago
Thank you very much!
Want results from more Discord servers?
Add your server