[RSS Feed/News] Job/Batch Update in Setup.php

Not open for further replies.


  • Thread starter
  • Admin
  • #1
I have an add-on with two different tables (Entities). One is for xf_addon_data and one for xf_addon_data_archive. I'm wanting to move all the records from xf_addon_data_archive to the xf_addon_data table in the Setup.php when I upgrade the add-on. However, I worry about doing a simple foreach because, in my case, there are well over 25,000 records in the archive and I'm worried it could time-out.

I know how to create a Job for that, and I could run it from the Tools->Rebuild caches page...

Read more

ادامه مطلب...
Not open for further replies.
Top Bottom