FEATURE: Remove user topic timers and migrate to bookmarks with reminders (PR #10474)

GitHub

Wanted to double check whether this is the best place to do this, or in a post migrate? I figured I already have all the IDs here.

I can’t seem to find the dev topic regarding this but we should not use any ActiveRecord methods in migrations. Everything has to be done via raw SQL.

I think we can mark the topic_timers as executed so that we don’t have to reach into Sidekiq in a migration.

@tgxworld how do I still consistently forget this :sob: thanks for pointing that out.

@tgxworld well I do trash them…maybe I can just add a line to the job to say return if timer.trashed?. Probably better anyway so we don’t accidentally run any of these.

Yup something like that will probably work.