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
@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
@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?
@jack_macnamara you are currently on version 0.16.0
and you upgraded from 0.13.0?
Just to confirm
Yes
@Pawan Jain any chance you could point me in the direction of the migration instructions?
@jack_macnamara
If you check your mongodb collections, do you see
expireAt
field in messsage collection records?@Pawan Jain no we don't have that field
@jack_macnamara, you just advanced to level 1!
@Gali Baum could you please help us here?
In which release we added this field?
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
Thank you very much!