Snog
Well-known member
I've taken a stance in XF 2 that I won't modify any xenforo tables directly unless absolutely necessary. Unfortunately that means when someone upgrades from XF 1 to XF 2 there could be massive amounts of data that needs to be transferred to new tables.
Currently I'm using cron tasks to do this, which limits the number of records transferred at once, but that can take quite a bit of time to finish on larger sites.
For example, an add-on has data in the old XF 1 post table, and it needs to be moved to a new table in XF 2. There could in theory be a million posts that need to have the data moved to the new table.
Is there a better way to do this during install/upgrade that I might have missed and still prevent timeouts during install?
Currently I'm using cron tasks to do this, which limits the number of records transferred at once, but that can take quite a bit of time to finish on larger sites.
For example, an add-on has data in the old XF 1 post table, and it needs to be moved to a new table in XF 2. There could in theory be a million posts that need to have the data moved to the new table.
Is there a better way to do this during install/upgrade that I might have missed and still prevent timeouts during install?