Hi all,
before to code something about that I would like to know - based on your experience - what's the best and more elegant and functional (fast) approach to achieve the following goal:
phpBB 3.2.x ONLY.
For a new extension I need to create a migration (user schema) which takes care of creating a new index in the USERS_TABLE, so far so good. (I need the USERS_TABLE, no alternatives).
Now I want that index to be populated at the very first of the ext's installation, see
ext.php, but that file executes before of any migration so I have to dismiss that migration and rely entirely on this.
ext.php should create the new index and populate it using a query, all of this code I have already written and tested. My doubt is where I will encounter a big board with lot of users, what's the best approach to let it run smoothly, in chunks maybe. Taking care as well of deleting the index on de-installation.
I don't know if that's dense, pls ask in case.
Any reference to an existing code will be appreciated, indeed.
TIA