Looked at the thread and I must say its been very informative. Thanks for writing this up.
For my need I have added a custom field called "customID" into thread and post table and my objective is to write this field to thread and post table for new threads.
My understanding is this that when we add new thread, logic writes one record in thread table and also in post table.
Any insight regarding that would be greatly appreciated