How to create a Custom Database Module in 12.6.0

I am trying to create a custom module that will take information from the bot into the SQLite database (Similar to the analytics module, but with different information being extracted). Has anyone does this or have any documentation to help me? I am using Linux, and have tried some of the examples from botpress-master, but I have been unable to replicate them in my separate downloaded botpress. I would love any assistance with this, thanks!

i am also looking into this … Any help from the community will be appreciated